[pmwiki-users] Referring to Group and Name

Patrick R. Michaud pmichaud at pobox.com
Thu Aug 11 16:23:01 CDT 2005


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