[pmwiki-devel] Conditionals and skin templates

Petko Yotov 5ko at 5ko.fr
Fri Apr 29 17:52:20 CDT 2011


On Saturday 30 April 2011 00:10:48, Randy Brown wrote :
> I'm wondering if the pagelist is executing in case the conditional turns
> out to be true.

True or false?

Yes, when the condition is true then the markup after the if is processed, and 
when it is false, no, most markup including pagelists will not be processed.

You can see the processing order of markup rules by visiting on your wiki the 
analog of http://www.pmwiki.org/wiki/?action=ruleset . The markup before the 
line "if fulltext B>=" will be processed before "if", that comprises page 
(text) variables and markup expressions. When the "if" markup returns false, 
the text after it should not be processed.

Petko



More information about the pmwiki-devel mailing list