Re: nesting limits?

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19154
interpreted = N
texte = >>[include [interpret][include file=somefile¶m=valueOne][/interpret]] > >So what you're hoping for is something that looks like this? >[include [include file=somefile¶m=valueOne]] >And the results of that inner [include] would be a filename?Yes, more or less. Let's see if I can explain this better. Here's my hierarchy, I have three separate files to deal with in this situation:Template.tpl [include includeFile.inc]IncludeFile.inc [include [interpret][include file=somefile¶m=valueOne][/interpret]]somefile ../full/path/to/some/file/to/be/includedAs you can see, the somefile value is a full path to the file I want included in the outer [include] context (of the includeFile.inc file). But without the [interpret] context, WebCat doesn't work. The only thing I can figure is that this nested include code is itself in an include file, so I'm guessing that WebCat stops interpreting at the first nested [include].If that's the case, it will never find a file located at a raw file path that looks like:[include file=somefile¶m=valueOne]because there is obviously no such path. :(Of course, I cannot actually see what's going on here because [include] tags does not display the raw file reference when it cannot find an [include] file. Instead it displays a generic error message from the errormessages.db, and that's no help in debugging. Therefore I'm simply ASSUMING that placing nested include code in an include file is *not* acceptable -- unless [interpret] is used to make it work.Is this the problem?Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: nesting limits? (Kenneth Grome 1998)
  2. Re: nesting limits? (PCS Technical Support 1998)
  3. Re: nesting limits? (Kenneth Grome 1998)
  4. Re: nesting limits? (Jay Van Vark 1998)
  5. Re: nesting limits? (Kenneth Grome 1998)
  6. Re: nesting limits? (Dave MacLeay 1998)
  7. Re: nesting limits? (PCS Technical Support 1998)
  8. Re: nesting limits? (Kenneth Grome 1998)
  9. Re: nesting limits? (PCS Technical Support 1998)
  10. nesting limits? (Kenneth Grome 1998)
>>[include [interpret][include file=somefile¶m=valueOne][/interpret]] > >So what you're hoping for is something that looks like this? >[include [include file=somefile¶m=valueOne]] >And the results of that inner [include] would be a filename?Yes, more or less. Let's see if I can explain this better. Here's my hierarchy, I have three separate files to deal with in this situation:Template.tpl [include includeFile.inc]IncludeFile.inc [include [interpret][include file=somefile¶m=valueOne][/interpret]]somefile ../full/path/to/some/file/to/be/includedAs you can see, the somefile value is a full path to the file I want included in the outer [include] context (of the includeFile.inc file). But without the [interpret] context, WebCat doesn't work. The only thing I can figure is that this nested include code is itself in an include file, so I'm guessing that WebCat stops interpreting at the first nested [include].If that's the case, it will never find a file located at a raw file path that looks like:[include file=somefile¶m=valueOne]because there is obviously no such path. :(Of course, I cannot actually see what's going on here because [include] tags does not display the raw file reference when it cannot find an [include] file. Instead it displays a generic error message from the errormessages.db, and that's no help in debugging. Therefore I'm simply ASSUMING that placing nested include code in an include file is *not* acceptable -- unless [interpret] is used to make it work.Is this the problem?Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Kenneth Grome

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:

Using Plug-In while running 1.6.1 (1997) Classified (1999) Convert from WebDNA to PHP/MySQL (2006) OT - royalty free images (2002) Multiple security dbs (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) UPDATE PROBLEM (1997) redirect not passing vars (2004) Help with database strategy (1998) Shipping cost out of synch (1998) 6.0 /Panther install issues (2004) Norton Internet Security filtering out WebDNA processsed (2004) Processing all html files through WebCat or Typhoon (1998) test (2003) Browser Info.txt -- newest additions? (1997) [WebDNA] anyone set up webdna 7 on Amazon's cloud? (2012) [WebDNA] OT - does anyone know how to get Fetch/BBedit to leave my last line-ending char intact? (2009) Shipcost lookup? (1997) Re:quit command on NT (1997) New Guestbook Source (1997)