[pmwiki-users] if action = whatever ... doesn't work?
Tegan Dowling
tmdowling at gmail.com
Sat Aug 12 21:48:46 CDT 2006
I can't figure out whether the conditional (:if action browse:) and (:if !
action edit:) are failing to work properly, or if (more likely) I'm failing
to understand and use the markup correctly.
Look at:
http://www.pmwiki.org/wiki/Test7/HomePage
On the SideBar page for the wikigroup Test7 (I just used one that was out
there), I've put
(:if ! action edit:)test1(:ifend:)
and also
(:if action browse:)test2(:ifend:)
I would expect both "test1" and "test2" to appear on the sidebar when the
page I'm viewing (whether that's Test7/HomePage or Test7/SideBar) is in
browse mode, but not when I have it in edit mode.
In fact, they both appear regardless of the page-action in effect.
Why is that? Thanks!
Tegan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060812/d78b29e2/attachment.html
More information about the pmwiki-users
mailing list