[pmwiki-devel] Accessing new page attributes / property

DaveG pmwiki at solidgone.com
Fri Jan 2 22:46:24 CST 2009


Not sure of the term attribute/property, but I'm using this code to set 
an attribute:
	Lock(2);
	$oldpage = ReadPage($pn);
	$newpage = $oldpage;
	$newpage['mine'] = "true";
	$_POST['post'] = 'y';
	PostPage($pn,$oldpage,$newpage);
	Redirect($pn);

I'm trying to access it from a page:
    (:if ! equal {{=$FullName}$mine} true :)stuff(:ifend:)

The value is set okay, I just can't work out how to access it from a 
wiki page.

  ~ ~ Dave



More information about the pmwiki-devel mailing list