[pmwiki-users] Variables in include

Petko Yotov 5ko at 5ko.fr
Thu Jan 7 17:50:13 CST 2010


On Friday 08 January 2010 00:17:45, Patrick Provinciael wrote :
> I want to use the include directive and send some variables to it. However,
> I am unable to send variables that contain spaces. Is there any way around
> this problem?
> 
> Example
> (:include Pagename value="A Value":)
> value will then be saved as A and not as A Value

This should work fine, it works on my own wikis and on PmWiki.org : 
  http://www.pmwiki.org/wiki/PmWiki/IncludeOtherPages#includevariable

Are you sure you use the correct {$$value} markup in the included page?

Petko



More information about the pmwiki-users mailing list