[pmwiki-users] selfgroup css definition

noskule noskule at gmx.net
Mon Apr 16 14:50:40 CDT 2007


hi list

Once I had a "selfgroup" definition in a wiki. That highlights a link as
long as the current page is in the same group. I uses it for a
horizontal navigation. The definition was as follows (kind of):

wikitext:
%define=hl{$Group} class=selfgroup%

* %hlTestGroup%[[TestGroup(.HomePage)]]


css:
.selfgroup { background:lightblue }


the links above (in horizontal navigation) should hightlight as long as
the user is in the  TestGroup.

If I now look in the html soure I didnt get selfgroup but:

    <span class="hlTestGroup"><a class="wikilink" 
href="SiteDocumentation/HomePage">Dokumentation</a></span>


but I should get something like:
    <span class="selfgroup"><a class="wikilink" 
href="SiteDocumentation/HomePage">Dokumentation</a></span>

or eben better:
    <a class="selfgroup" href="TestGroup/HomePage">Dokumentation</a>

Is this susposed to work?
nos







More information about the pmwiki-users mailing list