Re: Three new problems, maybe a fourth

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12197
interpreted = N
texte = >>3- Apparently you cannot do a [showif] inside a [listfiles] context in >>order to display only certain listfile items ... or maybe you can but it >>just won't work if you do it inside a table. Unfortunately I need it inside >>the table ...>I regards to this I was using the process of going down in the folder >levels by creating a template with the same name as the folder and doing >another listfiles inside that all using something off the top of my head >like this > >[showif [isfolder]=T] >href=/someotherfolder/[filename].tmpl]>Goto Catalog >directory My code was somewhat different here because I need to find a single image file that resides in a folder. Since all the files in that folder are .jpg files, I wanted to put the file name of the ONE file I'm looking for into an tag, so I did this:
[listfiles photos/] [showif [filename]=[lookup the name of the image in a database record]] [/showif] [/listfiles]
When I checked the source in the browser, everything including - and after - the listfiles context was missing. Does anyone see anything wrong with my WebDNA code here?Sincerely, Ken Grome WebDNA Solutions Associated Messages, from the most recent to the oldest:

    
  1. Re: Three new problems, maybe a fourth (Kenneth Grome 1997)
  2. Re: Three new problems, maybe a fourth (grichter@panavise.com (Gary Richter) 1997)
  3. Re: Three new problems, maybe a fourth (Kenneth Grome 1997)
  4. Re: Three new problems, maybe a fourth (grichter@panavise.com (Gary Richter) 1997)
>>3- Apparently you cannot do a [showif] inside a [listfiles] context in >>order to display only certain listfile items ... or maybe you can but it >>just won't work if you do it inside a table. Unfortunately I need it inside >>the table ...>I regards to this I was using the process of going down in the folder >levels by creating a template with the same name as the folder and doing >another listfiles inside that all using something off the top of my head >like this > >[showif [isfolder]=T] >href=/someotherfolder/[filename].tmpl]>Goto Catalog >directory My code was somewhat different here because I need to find a single image file that resides in a folder. Since all the files in that folder are .jpg files, I wanted to put the file name of the ONE file I'm looking for into an tag, so I did this:
[listfiles photos/] [showif [filename]=[lookup the name of the image in a database record]] [/showif] [/listfiles]
When I checked the source in the browser, everything including - and after - the listfiles context was missing. Does anyone see anything wrong with my WebDNA code here?Sincerely, Ken Grome WebDNA Solutions 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:

Robert Minor duplicate mail (1997) webcat NT (1998) WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997) How to implement 'email to a friend' feature? (2002) [addlineitems] (1997) The IBC root beer has arrived! (1997) japanese characters (1997) Weird Problem (1997) Special delete ... (1997) 2nd WebCatalog2 Feature Request (1996) Pull Down Search (2000) Sort Order on a page search (1997) Drop down menu (2003) Another webcatalog site!! (1997) locking variables? (2000) How does WebCatalog search the database? (1997) Fun with Dates - revisited (1997) Webcat no longer supported? (2006) Some Advise needed (1997) Nested tags count question (1997)