--- Vladimir Grigor <[EMAIL PROTECTED]> wrote:

> Vladimir Grigor wrote:
> 
> Solution should be quite simple to this problem, but
> I can't make this system do what I want.. :)
> 
> I came to this solution(it doesn't work yet  ):
> 1) script in Site.SideBar calls
>       (:pagelist fmt=#sidebar  name=Research.* :)
>     so only pages from 'Research' group are
selected;
> 2) script in Site.LocalTemplates
>       [[#sidebar]]
>       ...
>       (:if equal {$ReqPDir} {=$Group} )
>       * [[{=$FullName}|+]]
>       (:if:)
>       ...
>       [[#sidebar]]
> It checks if group of current page is the same as
> group of $RequestedPage. If it is, then second level
of links
> of menu is shown.

For that, you probably just want:
 (:if equal {$Group} {=$Group} )


-Martin



       
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. 
Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to