[pmwiki-users] custom markup order

Hans design5 at softflow.co.uk
Sat Jul 12 08:04:15 CDT 2008


Saturday, July 12, 2008, 1:38:37 PM, noskule wrote:

> Example:
> TestPage:
> (:if false:)
> [[TargetPage]]
> (:if end:)

> on the page "TargetPage" TestPage is listed as a backlink ( pagelist 
> link=TargetPage)

links get rendered later than 'if' conditions.
Anything following (:if false:) will not get rendered and does not
appear in the page (this is different to using %comment% which will
still output content, but style it with 'display:none;')

The reason you see the backlink reference is that TestPage has the
link markup in its source, and pagelist backlink checks for the link
markup present, and apparently does not process conditionals in the
pages it searches through.


  ~Hans




More information about the pmwiki-users mailing list