Re: Showif Or
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 28508
interpreted = N
texte = At 12:24 PM 2000/03/03, Andy Mowrey wrote:>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]>I have not tried it, but could you do it like this:[ListWords Words=/food/,/rst/,/cat/,/dog/,/whatever/&Delimiters=,] [showif [thisurl]^[word]] some webdna [/showif][/ListWords]If it works (not sure how ListWords will react to the slashes),it would be easier to maintain.Woops. Just realized that ListWords is 3.0 only. Sorry. -Chuck-__________________________________________________________________________Chuck Rice
-------------------------------------------------------------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:
At 12:24 PM 2000/03/03, Andy Mowrey wrote:>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]>I have not tried it, but could you do it like this:[ListWords Words=/food/,/rst/,/cat/,/dog/,/whatever/&Delimiters=,] [showif [thisurl]^[word]] some webdna [/showif][/ListWords]If it works (not sure how ListWords will react to the slashes),it would be easier to maintain.Woops. Just realized that ListWords is 3.0 only. Sorry. -Chuck-__________________________________________________________________________Chuck Rice -------------------------------------------------------------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
Chuck Rice
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:
WebCatalog NT beta 18 now available (1997)
Emailer (WebCat2) (1997)
Problems with Price field (1997)
Using WebCat for product info requests (1997)
updating with ProductEditor (1998)
Secure Sever and showcart errors (1997)
REPOST: Overwiting SKU in Cart (2002)
[WebDNA] Installing 7.1.702 on CentOS (2012)
What file? (1997)
# fields limited? (1997)
WC2.0 Memory Requirements (1997)
Extended [ConvertChars] (1997)
# in field name (2000)
Emailer Timing out (1999)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
[WebDNA] [announce] MacTel Beta 04 (2009)
Cant open pages generated by Webcat (2004)
Further on formula.db failure to calculate shipCost (1997)
Re[2]: Images (2000)
WebCat Emailer & Liststar (1997)