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

5/26/2006 2:26:50 PM
Matt-157.233.101.123
3/1/2005 12:08:28 PM
justin@eightengines.com-24.21.171.196
3/1/2005 12:04:38 PM
justin@eightengines.com-24.21.171.196
3/1/2005 12:04:00 PM
justin@eightengines.com-24.21.171.196
3/1/2005 12:03:46 PM
justin@eightengines.com-24.21.171.196
List all versions List all versions

RSS feed for the FlexWiki namespace

Customizing Borders
.
Summary
Nearby

Border customization uses WikiTalk. Since WikiTalk can be a bit hard to work with (no comments, no preview, no Intellisense) it is a very good idea to make a single topic that uses the Borders: property and use that as your test page.

Here's a simple borderset that you should start with. Typically what I do is make a single topic that has a modified borders attribute (Borders:MyTestBorder) then make changes to the test border topic, then go back to the border test page to see your results. This is helpful because if you get stuck you can easily restore the borders topic. If you mess with the borders that are used by the modified borders topic (MyTestBorder) it will be very difficult to fix.

 LeftBorder:{ aTopic | [Newline, "This is the left border"]}
 RightBorder:{aTopic | [Newline, "This is the right border"]}

Newline

These are straightforward. Most of the time they need to be followed by a comma.

Brackets

Brackets [ ] mark text blocks. It's very important to keep your brackets lined up. Brackets and braces should always be followed by a comma, unless they are the last one.

MenuItems

You'll see a lot of these in the borders. What's happening is that the MenuItem is calling the following bit of wikitalk:

 :MenuItem:{ tip, command, url |
        with (Presentations) 
        {[
                "||{T-}", 
                Image(federation.LinkMaker.LinkToImage("images/go.gif"), command, url), 
                "||{+}", 
                Link(url, command, tip), 
                "||", 
                Newline
        ]}
 }

The three parameters are tip, command and url.

Q:Is there any easier way to change images in borders? Like in Derek's BLiki (http://bliki.salamandersoftware.co.uk/default.aspx/Derek._NormalBorders)

A:Adding this to your border:

  MenuItem:{ tip, command, url, image |
        with (Presentations) 
        {[
                "||{T-}", 
                Image(federation.LinkMaker.LinkToImage(image), command, url), 
                "||{+}", 
                Link(url, command, tip), 
                "||", 
                Newline
        ]}
  }

Would allow this:

 MenuItem("Bliki Home", "Bliki Home", federation.LinkMaker.LinkToTopic("Derek.HomePage"), "images/home.gif")

from Derek's BLiki (http://bliki.salamandersoftware.co.uk/default.aspx/Derek.BlikiCustomisation)

Relevant Topics:

LinkMaker

FlexWikiSourceDatabase_DIR_EngineSource__Presentations_cs

FlexWikiSourceDatabase_DIR_EngineSource__Token_cs

TableFormattingRules

Not logged in. Log in

Welcome to the home of FlexWiki, an experimental collaboration tool, based on WikiWiki.

This is FlexWiki, an open source wiki engine.

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

Recent Topics