[pmwiki-users] Trying to add new page variable problem

DaveG pmwiki at solidgone.com
Sun Feb 22 10:57:27 CST 2009



Ed W wrote:
> Can someone please talk me through how I can add new markup like
> 
> (:sitemap_priority 0.5:)
I'd probably use a PTV for this, in which case something like
   (:sitemap_priority:0.5:)

> Such that this is then accessible via $page['sitemap_priority']
And then access that with:
   $priority = PageVar($pagename,'$:sitemap_priority');


  ~ ~ David



More information about the pmwiki-users mailing list