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:
shipcost (1997)
[WebDNA] [sendmail] random duplicates (2010)
Guest Book (2002)
[protect] on NT? (1997)
Help! WebCat2 bug (1997)
Reinstalling (2001)
[WebDNA] Debian Lenny, Lighttpd and WebDNA FastCGI ... (2010)
Need relative path explanation (1997)
update on wn searching (1997)
IRC Channel (2003)
TemplateCacheSize preference! (1998)
WebCat2: Formulas.db question (1997)
Running a store on BOTH http and https (1998)
Converting DOS database (2000)
Strange search... (2000)
Re:quit command on NT (1997)
Test (2003)
[shownext max=?] armed (1997)
WebMerchant - MacAuthorize (1999)
[OT] 'Email this story to a friend' (2003)