I have some custom markup. It is an evaluated function; in its markup,
it wants to access the value of $Name for the page it is on. It does
this like so:

global pagename;
$filename = PageVar($pagename, '$Name') . $desc . '.png';

This works fine but as soon as this custom markup is transcluded in
another page, the value of $Name reflects that page, not the original.
I don't really want to have {$Name} specified in the markup (which I
think would allow (:include basepage= :) to work). Within the context
of the markup function, is it possible for it to know the original (base)
page name?

Maxim

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to