[pmwiki-users] Re: suggestion for include

Hans design at flutesong.fsnet.co.uk
Fri Aug 5 05:46:50 CDT 2005


Friday, August 5, 2005, 10:57:25 AM, chr wrote:
>> I don't think there is a way, using existing markup, to check if a
>> specific page exists, or if an (:include Page:) will actually include
>> anything. But then I may have missed something in this fast
>> development of pmwiki.

> What about (:if exist PageName:) ... (:ifend:), I thought that'd work?
> (Needs to be checked though)

(:if exist PageName:) does not exist ;-)
(:if match :) uses regular expressions, but it does not check against
all pages, trying to find a match, only checks the current page
against the expression.


Best, 
~Hans                           





More information about the pmwiki-users mailing list