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:
[setcookie] & [redirect] (1998)
showif and cart (1997)
Template Not Found (1998)
Extended [ConvertChars] (1997)
SKU (1997)
Multiple Pulldowns (1997)
WebCatb15 Mac CGI -- [purchase] (1997)
WCf2 and nested tags (1997)
Extended [ConvertChars] (1997)
[WebDNA] Secure Cookies (2009)
writefiles (1999)
How does the Globals folder work? (2000)
Problems getting parameters passed into email. (1997)
Solution help needed (1998)
Best Linux/webcat config?? (2000)
Updating Prices in Online Database (1999)
Setting up shop (1997)
RE: Switching To NT (1999)
Redirecting some image requests ... (2003)
[BULK] [WebDNA] Using webdna to automate ftp on a Windows server (2012)