Re: Showif Or
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 28507
interpreted = N
texte = >I'm still working on my banner rotation system and have gotten >through the appending multiple values using [formvariables] as >suggested by this list, but now I have another question. I'm >running WC 2.13 on Web* and want to know if it's possible to use >[showif] to choose from more than one possible choice? Can I >combine the two [showif] statements below, am I forced to have >individual ones, or is there another way that I'm just not seeing?>>[showif [thisurl]^/food/]>some webdna>[/showif]>>[showif [thisurl]^/rst/]>same webdna as above>[/showif]There is a way to reduce the duplication of interior webdna that you have above: either use an [include] to pull in the same webdna twice, or use the following technique:[math]wasTrue=0[/math][showif [thisurl]^/food/][math]wasTrue=1[/math][/showif][showif [thisurl]^/rst/][math]wasTrue=1[/math][/showif][showif [math]wasTrue[/math]=1]some webdna just one time[/showif]Technical Support **********************************Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)16855 West Bernardo Drive, #380 | -------------------------San Diego, CA 92127 | Software & Site DevelopmentWebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to
.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:
>I'm still working on my banner rotation system and have gotten >through the appending multiple values using [formvariables] as >suggested by this list, but now I have another question. I'm >running WC 2.13 on Web* and want to know if it's possible to use >[showif] to choose from more than one possible choice? Can I >combine the two [showif] statements below, am I forced to have >individual ones, or is there another way that I'm just not seeing?>>[showif [thisurl]^/food/]>some webdna>[/showif]>>[showif [thisurl]^/rst/]>same webdna as above>[/showif]There is a way to reduce the duplication of interior webdna that you have above: either use an [include] to pull in the same webdna twice, or use the following technique:[math]wasTrue=0[/math][showif [thisurl]^/food/][math]wasTrue=1[/math][/showif][showif [thisurl]^/rst/][math]wasTrue=1[/math][/showif][showif [math]wasTrue[/math]=1]some webdna just one time[/showif]Technical Support **********************************Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)16855 West Bernardo Drive, #380 | -------------------------San Diego, CA 92127 | Software & Site DevelopmentWebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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
WebDNA Support
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:
How does WebCatalog search the database? (1997)
Grouping Fields in Context (1999)
RAM to disk (2002)
[DOS]/DOS query perhaps OT (2003)
Help! WebCat2 bug (1997)
webcat method for waiting specific amount of time? (2000)
Problem getting shipping to calculate (2003)
[Cart] ... (1997)
WebDNA Solutions ... sorry! (1997)
WC2b12: Yes, Formulas.db is for real (1997)
Format Thousands Looks Busted (2000)
Experience with creating real dynamic solutions?????? (1998)
Date Bug (1998)
[WebDNA] Microsoft Server 2008 installation.... so close (2011)
Looking up two prices in database? (1997)
Trouble with Netscape (1998)
Whats going on with my SERIAL NUMBER??? (1998)
SKU (1997)
Help with searching dates from mysql dump & searching (2006)
AND/OR searches in WebCat 3.07 (2003)