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
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users