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

Randy Brown randy at brownragfilms.com
Thu Mar 27 15:45:33 CDT 2008

Unless I don't know how to specify the filename using the core code  
(very possible), Hans' function is useful.

I tried:

(:if  exists Profiles/MyPhoto.jpg :)
(:elseif fileexists Profiles/MyPhoto.jpg :)

And got the result: fileexists

On Mar 27, 2008, at 3:02 PM, Peter & Melodye Bowers wrote:

>> However, I'm thinking that page may be out of date.  Isn't (:if  
>> exists ...:)
> and some of the others part of core now?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080327/5c04433b/attachment-0001.html 

More information about the pmwiki-users mailing list