[pmwiki-users] Marup processing and EnableRelativePageVars

DaveG pmwiki at solidgone.com
Wed Sep 12 09:30:23 CDT 2007


I have two questions. 

1] I've defined a markup, which includes a variable replacement. However, what I see when the code is rendered is $FullName rather than the value of $FullName. What am I missing here?
	Markup('skidoo_tab_edit', 'directives',
		'/\\(:skidoo_tab_edit:\\)/',
		'<div class="divedit">[[{$FullName}?action=edit | &nbsp; ]]{$FullName}</div>'
	);

2] I'm using the new "$EnableRelativePageVars = 1;" in my config to get absolute variable references. In this case though I only need absolute references on a specific page, not site wide. Is there a way to apply this setting to a specific page, or usage instance?


 ~ ~ Dave





More information about the pmwiki-users mailing list