[pmwiki-users] How do I pass variable values to my wikipage?

Octocias octocias at googlemail.com
Thu Apr 6 05:57:33 CDT 2006


I have worked out how to pass variables to the page.

I learned from http://www.pmwiki.org/wiki/Cookbook/Quiz (thanks)

The limitation I am encountering is that while I can detect whether or not
the variable was set, I cannot know what the contents are.

I have implemented the following with success:

In my config.php:

$Conditions['oSectionRow'] = '$_REQUEST["oSectionRow"]';
$Conditions['oSectionThumb'] = '$_REQUEST["oSectionThumb"]';


and in my wiki page:

(:if oSectionThumb:)
[[<<]] oSectionThumb param was set [[<<]]
(:if:)

(:if oSectionRow:)
[[<<]] oSectionRow parame was set [[<<]]
(:if:)


Now.... what I would like to do is be able to query the value after calling
Group.Page?oSection='Thumb'

e.g.

(:if oSection = 'Thumb':)
[[<<]] oSection param was set and it's value was THUMB![[<<]]
(:if:)

Is this possible?

--
Octocias
http://www.octocias.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060406/7b2cdcbc/attachment.html 


More information about the pmwiki-users mailing list