[pmwiki-users] Include specific lines of text on a page

Hans design5 at softflow.co.uk
Fri Jan 18 14:13:58 CST 2008


Friday, January 18, 2008, 6:07:32 PM, wiki question wrote:

>   If a line of text in Groupname.pagename contains the text "Test Complete"
>   include that line in the current page.

Do you want to show some text, if some text is present in some other
page? Have  a look at the (:if intext STRING:) conditional:
See http://www.pmwiki.org/wiki/Cookbook/ConditionalMarkupSamples

use for instance as
(:if intext 'Test Complete' Group.PageName:)Test Complete(:ifend:)


  ~Hans




More information about the pmwiki-users mailing list