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:
Search bug. Help (2002)
[format xs] freeze (1997)
Bug or syntax error on my part? (1997)
WebCat B13 Mac CGI -- Frames question (1997)
WebDNA Book? (2003)
RE: ShowNext Command (1997)
using webdna to determine pixel parameters (2000)
[SHOWIF]s and empty arguments (1997)
rename a file (1997)
upgrading (1997)
Nested vs conditional (1997)
counting characters and/or words (1997)
5.0 upgrade - config docs? (2003)
Emailer problem with WC 2.1, NT, WebSite 2.1 (1998)
WebCatalog can't find database (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
[shownext max (1997)
MacAuthorize and WebMerchant (1997)
PHP and WebDNA (2003)
webcat- multiple selection in input field (1997)