Show Changes Show Changes
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Administration Page Administration Page
Search

History

9/25/2008 4:49:51 PM
FLWCOM-jwdavidson
1/29/2008 4:06:36 AM
FLWCOM-jwdavidson
1/28/2008 11:24:49 PM
-69.235.254.230
7/25/2005 5:16:49 PM
erik.dillingham@gmail.com-69.109.74.123
7/25/2005 5:15:59 PM
-69.109.74.123
List all versions List all versions

RSS feed for the FlexWiki namespace

Wiki Customize Web User Interface With Wiki Talk
.
Summary

Look at the Wiki page NormalBorders.wiki

If you save this file as "_NormalBorders.Wiki" under your Wiki content directory (with the other .Wiki files), you will be able to edit this file and change the layout. The Wiki engine will automatically pick up the new layout and use it for the Wiki.

See also NormalBordersRightOnly for an example of a layout that only has a right menu.

Does anyone have an example implementation of "Last 5 WikiPages Visited?"

Any other cool border WikiTalk samples out there?

Back to HomePage Test / WikiTalk

Here is for example the WikiTalk for Recent Topics in the _NormalBorders#RightBorder :

 @@[
        "*Recent Topics*",
        Newline,
        request.UniqueVisitorEvents.Snip(5).Collect
        { each |
                [
                Tab, 
                "*",
                Presentations.Link(federation.LinkMaker.LinkToTopic(each.Fullname), each.Name),
                Newline
                ]
        }
 ]@@

or as Trail

 @@[
        "||{T-}*Trail*: ||",
        request.UniqueVisitorEvents.Snip(5).SortBy{ each | each.When }.Collect
        { each |
                [
                ">  ", 
                Presentations.Link(federation.LinkMaker.LinkToTopic(each.Fullname), each.Name),
                "||",
                ]
        },
        Newline
 ]@@

that look like this:

Trail: > WikiCustomizeWebUserInterfaceWithWikiTalk

-- MichaelStamenov [7/22/2005]

At my company, we've brought together a concept of WikiLinks - a dynamically built table of key WikiTopics that are referred to as one of two types of WikiLinks: KeyLinks and QuickLinks. Our WikiLink table sits in our FlexWiki's _NormalBorders#RightBorder.

To create WikiLink table(s) using the WikiTalk fragment below, simply add either a "QuickLink:" or "KeyLink:" WikiPageProperty to the topic you wish to have appear in the list, with the value being the text you wish to have displayed in the WikiLinks table.

 @@[
         "||{!^C3} ''' WikiLinks: ''' ||", Newline, 
         namespace.Topics.Select{each | each.HasProperty("KeyLink")}.Collect
         { e | [ Tab, "* '''", Presentations.Link(federation.LinkMaker.LinkToTopic(e.Fullname), e.GetProperty("KeyLink")), "'''", Newline] },
         namespace.Topics.Select{each | each.HasProperty("QuickLink")}.Collect
         { e | [ Tab, "* ", Presentations.Link(federation.LinkMaker.LinkToTopic(e.Fullname), e.GetProperty("QuickLink")), Newline] },
 ]@@

The above snippet will pull all pages with these properties and render a table of links to WikiTopics - KeyLinks are rendered in bold and placed at the top of the list, and QuickLinks are rendered in a "normal" weight and displayed towards the bottom of the list, appearing somewhat like this:

WikiLinks
FlexWiki
OneMinuteWiki
WikiTalk
FormattingRules
Note
(this is a static table - I was hesitant to modify a bunch of FlexWiki.Com's WikiPages to support this, so the above rendering is purely for demonstrating the layout produced by the WikiTalk.

Naturally, feel free to modify it!

Not logged in. Log in

Welcome to the home of FlexWiki, a collaboration tool, based on WikiWiki, implemented using Microsoft .NET technologies

This is FlexWiki, an open source wiki engine.

This site supports the new NoFollow anti-spam initiative.
Change Style

Recent Topics