[pmwiki-users] if action = whatever ... doesn't work?
Clemens Gruber
cgruber at uni-osnabrueck.de
Sun Aug 13 06:37:42 CDT 2006
There is an answer from Patrick to a similar question, see
http://thread.gmane.org/gmane.comp.web.wiki.pmwiki.user/23888/focus=23905
Clemens
Tegan Dowling wrote:
> 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
>
>------------------------------------------------------------------------
>
>_______________________________________________
>pmwiki-users mailing list
>pmwiki-users at pmichaud.com
>http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
--
Clemens Gruber (Dipl.-Psychologe)
Zentrum zur Unterstuetzung virtueller Lehre
der Universitaet Osnabrueck (virtUOS)
Schloss-Strasse 9, Raum E07, D-49074 Osnabrueck
E-Mail: cgruber at uni-osnabrueck.de
URL: http://www.virtuos.uni-osnabrueck.de
Telefon: (05 41) 969-6505 oder
(05 41) 969-6501 (Sekretariat)
Fax: (05 41) 969-16505
More information about the pmwiki-users
mailing list