[pmwiki-users] selfgroup css definition
Patrick R. Michaud
pmichaud at pobox.com
Mon Apr 16 15:09:07 CDT 2007
On Mon, Apr 16, 2007 at 09:50:40PM +0200, noskule wrote:
> 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)]]
I'm guessing that you've recently switched to 2.2.0-beta,
and that you need to switch {$Group} to {*$Group}.
Otherwise %define=hl{$Group}% only defines selfgroup for
the group in which the %define% was written, as opposed to
whatever page is currently being displayed.
Pm
More information about the pmwiki-users
mailing list