Re: Don'y know if this is a sily question...

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50738
interpreted = N
texte = Alan White wrote: > And there are no problems executing code in an include from inside another > include?Not as such, but you should be aware that the [include] file constitutes a context (or closure). As such, all WebDNA context's must be wholely contained within the include file. In other words, if you have the [if] start in the [include] file then the [/if] must be contained in the [include] file as well.It is really very easy to extract code out of a working page and encapsulate it within an [include] file; we [include] at least 3-4 layers deep all the time.This limitation does not extend to HTML context's however; our main polymorphic site includes all of the gross page layout HTML (like the overall enclosing code) in the header.inc, but the
is located in the footer.inc instead.HTHJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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: Don'y know if this is a sily question... (Alan White 2003)
  2. Re: Don'y know if this is a sily question... (Bjørn Are Solstad 2003)
  3. Re: Don'y know if this is a sily question... (Alan White 2003)
  4. Re: Don'y know if this is a sily question... (John Peacock 2003)
  5. Re: Don'y know if this is a sily question... (Bjørn Are Solstad 2003)
  6. Re: Don'y know if this is a sily question... (Alan White 2003)
  7. Re: Don'y know if this is a sily question... (Brian Boegershausen 2003)
  8. Don'y know if this is a sily question... (Alan White 2003)
Alan White wrote: > And there are no problems executing code in an include from inside another > include?Not as such, but you should be aware that the [include] file constitutes a context (or closure). As such, all WebDNA context's must be wholely contained within the include file. In other words, if you have the [if] start in the [include] file then the [/if] must be contained in the [include] file as well.It is really very easy to extract code out of a working page and encapsulate it within an [include] file; we [include] at least 3-4 layers deep all the time.This limitation does not extend to HTML context's however; our main polymorphic site includes all of the gross page layout HTML (like the overall enclosing code) in the header.inc, but the
is located in the footer.inc instead.HTHJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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/ John Peacock

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:

Interfacing WebMerchant to www.fedex.com (1997) E-Commerce site for Canadian and US customers (1998) A quickie question (1997) [SearchString] problem with [search] context (1997) Nested Loops and SHOWIFs (1997) URL for Discussion Archive (1997) Security Question (1997) [isfile] ? (1997) Removing username from browser (2000) Suffix or Line? (1999) acgi to plugin migration problems (2000) [showif] based on data from [tcpconnect][tcpsend]? (2000) ShowNext (1997) Pithy questions on webcommerce & siteedit (1997) Problems reading files created by WC (1997) SKU (1997) Control panels for Linux, FreeBSD, thhtpd, sendmail, proFTPd (2004) RE: WebCatalog2 for NT Beta Request (1997) Setting up WebCatalog with Retail Pro data (1996) Getting total number of items ordered (1997)