[Soks] Dynamic menu
tamc2 at cam.ac.uk
Fri Mar 4 09:32:27 EST 2005
On 4 Mar 2005, at 13:15, Bil Kleb wrote:
> Tom Counsell wrote:
>> Ok, I've just had a few spare minutes to test, and putting this:
>> <% dynamic_links = sidebarpage ? page.links_to -
>> sidebarpage.links_from - [ sidebarpage ] : page.links_to %>
> The conditional is for the case where sidebarpage does not exist?
Umm, yes, but upon reflection it is probably unnecessary because
@wiki.page will return an empty page if none exists....
More information about the Soks-discuss