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 Jesse As 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 you can 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:

    
  1. Re: [include] and not found ( Patrick McCormick 2005)
  2. Re: [include] and not found ( Marko Bernyk 2005)
  3. Re: [include] and not found ( Patrick McCormick 2005)
  4. Re: [include] and not found ( Marko Bernyk 2005)
  5. Re: [include] and not found ( Donovan Brooke 2005)
  6. Re: [include] and not found ( Donovan Brooke 2005)
  7. Re: [include] and not found ( Patrick McCormick 2005)
  8. Re: [include] and not found ( Kenneth Grome 2005)
  9. Re: [include] and not found ( Donovan Brooke 2005)
  10. Re: [include] and not found ( Jesse Proudman 2005)
  11. Re: [include] and not found ( Patrick McCormick 2005)
  12. Re: [include] and not found ( Jesse Proudman 2005)
  13. [include] and not found ( Patrick McCormick 2005)
Patrick McCormick wrote: [snip] It would be nice if SMSI added a notfound option, though to override > the default message. > > Thanks Jesse As 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 you can 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:

Micro-managing External Links (2006) WebDNA Threaded Discussions? (2004) Possible Bug in 2.0b15.acgi (1997) Set Line Item (1999) WebCatalog on G3 Macs? (1997) Error Lob.db records error message not name (1997) Can you do this??? and other stuff (1997) [shownext] (2002) QuantityPrice computed? (1998) Include a big block of text (1997) Webcat no longer supported? (2006) Permission denied? (2004) [WebDNA] obituary service (2009) Protecting webdelivery (1997) [WebDNA] Character conversion on storage to database (2012) Applescript error (1998) Null Characters (2005) Locking up with WebCatalog... (1997) using showpage and showcart commands (1996) HTML Editors (1997)