[pmwiki-users] Is 'Page Creator' worth to discuss?

Patrick R. Michaud pmichaud at pobox.com
Sun Feb 24 08:30:06 CST 2008

On Sat, Feb 23, 2008 at 11:29:37AM +0000, Hans wrote:
> Saturday, February 23, 2008, 12:28:28 AM, Patrick R. Michaud wrote:
> > The ability to change the cauthor attribute could be done through
> > ?action=attr, but thus far I've been a little reluctant to have
> > non-password attributes in the ?action=attr form by default.  The 
> > core code can already handle non-password fields, but historically 
> > PmWiki hasn't used ?action=attr for anything but passwords and
> > I'm not sure that cauthor is the place where we want to start.
> Do we have some documentation, perhaps in a cookbook recipe, how to
> expand the ?action=attr form to include more fields, which will be
> saved as page attributes?

To add an attribute for 'cauthor':

    $PageAttributes['cauthor'] = '$[Page created by:]';

> If PmWiki already supports this in the core, then all we need is a recipe
> outlining how to add extra fields, and how to add the page variables
> to display this data.

    $FmtPV['$CreatedBy'] = '@$page["cauthor"]';


More information about the pmwiki-users mailing list