Re: [WebDNA] Good advise on [Showif] or alternative...
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 108544
interpreted = N
texte = >=20>=20> Hi all,>=20> Seeking some good advise on what might just be a very simple case...>=20> If need to make a [showif] on a specific URL, which needs to be> 'http://www.macnyt.dk/forum/' nothing more nothing less.>=20> My experience is that if I make an '[showif> =[something]=3Dhttp://www.macnyt.dk/forum/?some=3Dadditional_variable&and=3D=another> ]' then is passes as well.>=20> In '[showif]' we have EQUAL, NOT EQUAL, CONTAINS, BEGINS WITH, LESS =THAN,> GREATER THAN, DIVISIBLE BY - but none of the seems to do the trick.>=20> Good ideas and inspiration is appreciated.Hi PalleI am confused what is actually proving difficult for you. Could you =explain the issue again, in different words?Or, if I do understand.. then could you try this:(the opening [showif] tag is all on one line:)[showif [URL][thisurl][formVariables][if =("[index]"=3D"1")][then]?[/then][else]&[/else][/if][name]=3D[url][value][/=url][/formvariables][/URL]=3D[URL]http://www.macnyt.dk/forum/[/URL]]=09[/showif]
Associated Messages, from the most recent to the oldest:
>=20>=20> Hi all,>=20> Seeking some good advise on what might just be a very simple case...>=20> If need to make a
[showif] on a specific URL, which needs to be> 'http://www.macnyt.dk/forum/' nothing more nothing less.>=20> My experience is that if I make an '[showif> =[something]=3Dhttp://www.macnyt.dk/forum/?some=3Dadditional_variable&and=3D=another> ]' then is passes as well.>=20> In '
[showif]' we have EQUAL, NOT EQUAL, CONTAINS, BEGINS WITH, LESS =THAN,> GREATER THAN, DIVISIBLE BY - but none of the seems to do the trick.>=20> Good ideas and inspiration is appreciated.Hi PalleI am confused what is actually proving difficult for you. Could you =explain the issue again, in different words?Or, if I do understand.. then could you try this:(the opening
[showif] tag is all on one line:)[showif
[url][thisurl][formvariables][if =("[index]"=3D"1")][then]?[/then][else]&[/else][/if][name]=3D
[url][value][/=url][/formvariables][/URL]=3D
[url]http://www.macnyt.dk/forum/[/URL]]=09[/showif]
Govinda
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:
Blog Software (2006)
Conditional searching & displaying (1997)
gateway application timeouts (1998)
Sku numbers (1997)
I forgot (1998)
Beta Documentation (1997)
WebCatalog2 Feature Feedback (1996)
[include file] wrong path or syntax when using / referingtoo (2002)
WebCatalog f2 Installation (1997)
replace problem (1999)
WC2.0 Memory Requirements (1997)
WebCat2b13MacPlugIn - [include] (1997)
Error Messages Returned to User (1997)
WCS Newbie question (1997)
Serial Number Question (1997)
Register First (2000)
Two prices in shoppingcart? (1997)
POST (1997)
Re1000002: Setting up shop (1997)
my price won't move (1997)