[pmwiki-users] appending to a sidebar

adam overton a at plus1plus1plus.org
Tue Oct 6 03:44:43 CDT 2009


oh, that's great
i prefer the 1st example.
thanks!
adam


On 5 Oct 2009, at 4:56 PM, Hans wrote:

> Monday, October 5, 2009, 11:50:23 PM, adam overton wrote:
>
>> i'm imagining something like:
>> $GroupSideBarFmt = $GroupSideBarFmt . '(:if auth admin:)(:include
>> Site.SideBarAdmin:)(:ifend:)';
>
> that does not exist.
> the simplest would e to modify the skin .tmpl file
> and add after
> <!--wiki:{$SideBar} $Group.SideBar $SiteGroup.SideBar-->
> <!--wiki:$SiteGroup.SideBarAdmin-->
>
> If you don't want to do this, you could do this:
>
> Instead of using $Group.SideBar pages, use something like
> $Group.LeftBar for instance, just a different page name.
> Delete all Group.SideBar pages except Site.SideBar.
> Then use Site.SideBar like this:
>
> (:include {*$Group}.LeftBar:)
> (:if auth admin:)
> my admin links etc....
>
> Site.SideBar will be shown in all Groups, and it will include the
> relevant LeftBar page for the Group menu, plus anything else.
>
>
>   ~Hans
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20091006/e7de80fa/attachment.html 


More information about the pmwiki-users mailing list