[pmwiki-users] Re: Empty $pagename (Was: variables for customization)
Patrick R. Michaud
pmichaud at pobox.com
Fri Jul 8 02:55:40 CDT 2005
On Fri, Jul 08, 2005 at 08:57:00AM +0200, chr at home.se wrote:
> Should it really be 'PageName'... and should it refer to $FullName and
> $Group? Seems like some $-substitutions have been intermixed with the PHP
> variables here, or is the whole page about $-substitions?
No, these should not be here -- that was my original comment that
the entries for $PageName, $FullName, and $Group didn't belong
on this page. I'll revert it...done.
> > Based on the discussions
> > of the past couple of days I'm thinking that I'll create a SetPageName()
> > function, which initializes $pagename as well as $group and $name.
> Eh.. $group and $name... do you mean that SetPageName() will create these
> as global variables?
> Would work for me though, although now that I've thought about it I think
> that Group() is a bit cleaner (and you can't assign it).
I agree, so I'm likely to go for Group() ( and possibly Name() ).
More information about the pmwiki-users