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:
Major Security Hole IIS NT (1998)
Re:PCS Customer submissions ? (1997)
Hiding HTML in an [include] file... (2004)
Emailer [cart] file names (1997)
[math] storage of variables (1997)
macosx 1 process, linux N processes, macosx chokes under load (2001)
http://www.teamorganizer.net/tour5.html (2000)
Upload to LINUX always breaks my sites - why? (2004)
FWD: WebCatalog and .TMPL (1997)
[OT] Form Check java problem (2003)
IE problems persist (2004)
.tmp files (2000)
db merge problem (2002)
Code database (1998)
Emailer Set Up (1997)
Bug Report, maybe (1997)
Bug? (1997)
# fields limited? (1997)
Online reference (1997)
Fwd: Handling Charges (1999)