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:
2 databases (2000)
RE: Adding headers to email (1997)
Still having problems with Authen (1997)
New Site Announcement: MusicianStore.com goes live with (1998)
PhotoMill -> PhotoMaster (1997)
searching multiple databases (1997)
cart file creation (2003)
Replace Missing Images (2003)
[/application] error? (1997)
Some Questions (1997)
Verifying both name and password (was: New Problem) (1997)
2 requests (Japanese Kanji code & Oracle connection) (2000)
WebCat2b12plugin - [search] is broken ... not! (1997)
[WebDNA] Quick grep question (2009)
A Global Variable (1997)
Golive parses [showif [index]<4] weird (2003)
How reliable is WebDNA? (2004)
[WebDNA] TCPConnect assist (2016)
Need relative path explanation (1997)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)