On Saturday 03 January 2009 05:46:24 DaveG wrote:
> Not sure of the term attribute/property, but I'm using this code to set
> an attribute:
>       $newpage['mine'] = "true";

> 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.

You need to also add a PageVariable :
  $FmtPV['$mine'] = '$page["mine"]';

Thanks,
Petko


_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to