[pmwiki-users] function PageTextVar & Fox

noskule noskule at gmx.net
Tue Nov 18 11:24:49 CST 2008


hi list
I defined  a variable to get a ptv of the current page:
   $SelfPagetype = PageTextVar($pagename, "pagetype");


this works as long a page is defined in the url:

...index.php/Group/Name

id dosn't work if there is no page definition, this typically happens if one 
clicks on the wiki title.

However, if I define de variable after I included fox it works no matter if a 
target is defined in the url or not

anyone an idea?

thanks for any hints
nos



More information about the pmwiki-users mailing list