[Pmwiki-users] Sidebar Highlighting?
Knut Alboldt
mailing
Sun Sep 26 14:06:14 CDT 2004
At 21:25 26.09.2004, you wrote:
>Hi all,
>
>Is there a halfway simple way to highlight the corresponding sidebar
>entry when a page is open?
For pmwiki1 have a look at http://www.pmwiki.org/wiki/Cookbook/IfGroup
Define the Sidebar as follows:
=ifgroup Main %red% [[Main.HomePage Main]]
=ifnotgroup Main [[Main.HomePage Main]]
=ifgroup Group1 %blue% [[Group1.HomePage Group 1]]
=ifnotgroup Group1 %blue% [[Group1.HomePage Group 1]]
%red% and %blue% must be defined as wikistyles.
You can also setup group-depended display of subentries, see the examples.
Knut
More information about the pmwiki-users
mailing list