[pmwiki-users] Include other pages with variables

Simon nzskiwi at gmail.com
Fri Nov 13 01:10:31 CST 2009


http://www.pmwiki.org/wiki/PmWiki/IncludeOtherPages#includevariable
http://www.pmwiki.org/wiki/Test/IncludeWithVariable

<http://www.pmwiki.org/wiki/Test/IncludeWithVariable>It seems that when a
variable passed with an include from other pages is not specified in the
include directive the variable name itself is left in the text.

I suggest that the expected behaviour would be that the variable should have
the value of null or empty.

Please see the test example above. What do you think?

thanks

Simon

PS My use case is
(:if equal "{$$File}" "":)Photo(:else:){(ucfirst "{$$File}")}(:ifend:)
I also tried
(:if equal {$$File}:)Photo(:else:){(ucfirst "{$$File}")}(:ifend:)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20091113/cfb0a025/attachment.html 


More information about the pmwiki-users mailing list