[pmwiki-users] groupname and pagename in config.php
adam overton
a at plus1plus1plus.org
Thu May 8 04:19:10 CDT 2008
hi
i'm trying to make some conditionals in my config file that hinge
upon which group or page i'm currently in...
besides $pagename (which returns TheGroup/ThePage), are there
currently any default variables that hold the individual values of
the groupname and pagename? i thought maybe $group and $name would be
what i'm looking for, but i was mistaken (they're empty).
i guess i can do this:
list($currentGroup, $currentPage) = explode("/",$pagename);
...but am wondering if i'm just overlooking some other variables that
already exist...?
thanks!
adam
More information about the pmwiki-users
mailing list