Re: search/showif issues
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 28568
interpreted = N
texte = Jesse's suggestion won't work either, because the contexts are still not 'nested' properly. Try this instead:[showif [var1]=0][search db=...][founditems]...[/founditems][/search][/showif][showif [var1]!0][search db=...][founditems]...[/founditems][/search][/showif]And if it's easier to use the same code inside both founditems context, put that code in an include file, then incude that file inside your founditems contexts. In fact, you can even put the founditems context itself in the include file, like this:Text of the file named incFile01:[founditems]put all your founditems code here ...[/founditems]Then use this in your template:[showif [var1]=0][search db=...][include file=incFile01][/search][/showif][showif [var1]!0][search db=...][include file=incFile01][/search][/showif]================================Kenneth Grome, WebDNA Consultant808-737-6499 http://webdna.net================================-------------------------------------------------------------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
Associated Messages, from the most recent to the oldest:
Jesse's suggestion won't work either, because the contexts are still not 'nested' properly. Try this instead:[showif [var1]=0][search db=...][founditems]...[/founditems][/search][/showif][showif [var1]!0][search db=...][founditems]...[/founditems][/search][/showif]And if it's easier to use the same code inside both founditems context, put that code in an include file, then incude that file inside your founditems contexts. In fact, you can even put the founditems context itself in the include file, like this:Text of the file named incFile01:[founditems]put all your founditems code here ...[/founditems]Then use this in your template:[showif [var1]=0][search db=...][include file=incFile01][/search][/showif][showif [var1]!0][search db=...][include file=incFile01][/search][/showif]================================Kenneth Grome, WebDNA Consultant808-737-6499 http://webdna.net================================-------------------------------------------------------------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
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:
WebCat for mass emailings (1997)
Jimmy (1998)
[WebDNA] MD5 Hash issue (2009)
If set cookie doesn't work. (2000)
Bug In Admin Templates (2003)
[shownext] and sort (1998)
E-Mailer (WebCatb15acgiMac) (1997)
RE: WebCat and image maps (1997)
Showing once on a founditems (1997)
[Sum] function? (1997)
calculating tax rates, mail order solutions and version 2 (1997)
Showif for mulitple variations (1997)
f2 download problems (1997)
Rollovers (1999)
WebCatalog can't find database (1997)
retain raw [cart] submitted value (2004)
[WebDNA] Syntax Error? (2009)
reporting commands (2001)
web delivery (1997)
Trouble with [Math] (1998)