Re: [include] and not found
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 63372
interpreted = N
texte = Patrick McCormick wrote:[snip] It would be nice if SMSI added a notfound option, though to override> the default message.> > Thanks JesseAs Jesse mentioned...--Start code--[function name=NF_INCLUDE&preparse=F] [fileinfo file=[__thefile]] [hideif [IsFolder]=T] [showif [Exists]=T] [include file=[__thefile]] [/showif] [/hideif] [showif [IsFolder]=T] This filename is a folder. Btw, you smell. [/showif] [/fileinfo][/function]--End code--Call like:[NF_INCLUDE __thefile=somedir/thefile.inc]Feel free to use exactly as written... or youcan take out the last showif, if you wish. :-)Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Custom Paint, Labels, and Specialty Signage. -> <- Home and Business Embellishment/Fabrication, -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 835-2476 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Patrick McCormick wrote:[snip] It would be nice if SMSI added a notfound option, though to override> the default message.> > Thanks JesseAs Jesse mentioned...--Start code--[function name=NF_INCLUDE&preparse=F] [fileinfo file=[__thefile]] [hideif [IsFolder]=T] [showif [Exists]=T] [include file=[__thefile]] [/showif] [/hideif] [showif [IsFolder]=T] This filename is a folder. Btw, you smell. [/showif] [/fileinfo][/function]--End code--Call like:[NF_INCLUDE __thefile=somedir/thefile.inc]Feel free to use exactly as written... or youcan take out the last showif, if you wish. :-)Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Custom Paint, Labels, and Specialty Signage. -> <- Home and Business Embellishment/Fabrication, -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 835-2476 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Donovan Brooke
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Searchable WebCat (etc.) Docs ? (1997)
Appendfile memory usage (redux) (2003)
script to autmaticaly update Filemaker DB (2000)
Switching To NT (1999)
delete fails (2000)
Database Connectivity (1999)
Attn: Scott - webdna 6.0a patch and mysql (2005)
Comments in db? (1997)
Can I invoke an ssi plugin from within a webcat page (1997)
Unexpected error (1997)
WebCatalog not recognizing ShoppingCarts folder (2000)
Stopping bad HTML propagation ? (1997)
WCf2 and nested tags (1997)
Parameter Problem ATTN: Ken Grome (1998)
Bug? (1997)
Problems with [Applescript] (1997)
Base64 encryption limitations? (1999)
Resending - Please help (1999)
Price override (2004)
Running _every_ page through WebCat ? (1997)