[pmwiki-users] Conditional data
Octocias
octocias at googlemail.com
Wed Apr 5 04:22:56 CDT 2006
Hi,
I would like to be able to use ONE wiki page to display EITHER a summary or
the detail.
Like this:
in the wikipage, I want to say:
if ( page name ends with "summary" )
{
display this: "blah blah blah"
}
else
{
display this chunk of content.
}
The problem is... I will be INCLUDING those wiki pages, so that means the
file names will be the HOST's file name, not the included filename.
Any suggestions of how I can get around this? Seems it would be cool if I
could pass a variable to the page.
regards,
Octocias
http://www.octocias.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060405/c51b1f61/attachment.html
More information about the pmwiki-users
mailing list