[pmwiki-users] Referring to Group and Name
Gabriel Jägenstedt
gabriel.j at telia.com
Thu Aug 11 16:59:17 CDT 2005
Ahh.. but I'm not inside the wiki.
I'm doing it from a menu.
The code below told me I hadn't defined FmtPageName which is very much true.
Patrick R. Michaud wrote:
> On Thu, Aug 11, 2005 at 10:55:17PM +0200, Gabriel Jägenstedt wrote:
>
>>This might actually be a php question but I want to get the name and
>>group of the current active wikipage as in the $Group, $Name variables
>>used inside pmwiki.php. I tried using $_GET['n'] but it didn't work for
>>some reason, as far as I can tell it should, but 'n' appears to be empty.
>
>
> Use:
>
> $group = FmtPageName('$Group', $pagename);
> $name = FmtPageName('$Name', $pagename);
>
> Pm
>
More information about the pmwiki-users
mailing list