[pmwiki-users] back to an old story : conditional for attachments (fwd)

Peter & Melodye Bowers pbowers at pobox.com
Thu Mar 27 15:02:46 CDT 2008


> Try this: add to config file:
> 
> $Conditions['attachexists'] = 'UploadFileExist($pagename, $condparm)';

Hans's solution is now documented in Cookbook/ConditionalMarkupSamples.

However, I'm thinking that page may be out of date.  Isn't (:if exists ...:)
and some of the others part of core now?

-Peter




More information about the pmwiki-users mailing list