Re: [WebDNA] Good advise on [Showif] or alternative...
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 108542
interpreted = N
texte = So I was inspired to do this one although a bit more complex than i =would like to and actually it does not work either since it also accepts =the URL's with ?variables&and=3Danotherone&andanother=3Done...Hmmmmm...[text]theValue=3D[countchars][thisurl][/countchars][/text][showif [theValue]=3D7][showif [thisurl]=3D/farum/]This is shown because it equals 7 characters =(thisurl=3D/forum/). But it is also accepted when ?variables is attached =to the URL because THISURL disregards the variables.[/showif][/showif]/PalleOn 07/02/2012, at 21.12, Palle Bo Nielsen wrote:> Hi Michael,>=20> Do you suggest something like this...?>=20> ------> [show [listchars chars=3D[thisurl]][/listchars]=3D27]>=20> [showif [thisurl]=3Dhttp://www.macnyt.dk/forum/]>=20> This is shown because it equals 27 characters and not =any more than that which could have be the result of variables etc. in =the URL.>=20> [/showif]>=20> [/showif]> ------>=20> /Palle>=20>=20>=20> On 07/02/2012, at 20.55, Michael A. DeLorenzo wrote:>=20>> Sorry. I meant use listchars to compare the urls>>=20>> -----Original Message----->> From: Michael A. DeLorenzo [mailto:michael@oldecarriage.com]=20>> Sent: Tuesday, February 07, 2012 2:53 PM>> To: talk@webdna.us>> Subject: RE: [WebDNA] Good advise on [Showif] or alternative...>>=20>> How about counting the first X number of characters and compare them =in the>> showif to your URL?>>=20>> -----Original Message----->> From: Palle Bo Nielsen [mailto:powerpalle@powerpalle.dk]>> Sent: Tuesday, February 07, 2012 2:25 PM>> To: talk@webdna.us>> Subject: [WebDNA] Good advise on [Showif] or alternative...>>=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.>>=20>> /Palle--------------------------------------------------------->> This message is sent to you because you are subscribed to the mailing =list>>
.>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us>>=20>>=20>>=20>>=20>> --------------------------------------------------------->> This message is sent to you because you are subscribed to the mailing =list>> .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us>>=20>>=20>>=20>>=20>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
So I was inspired to do this one although a bit more complex than i =would like to and actually it does not work either since it also accepts =the URL's with ?variables&and=3Danotherone&andanother=3Done...Hmmmmm...[text]theValue=3D[countchars][thisurl][/countchars][/text][showif [theValue]=3D7][showif [thisurl]=3D/farum/]This is shown because it equals 7 characters =(thisurl=3D/forum/). But it is also accepted when ?variables is attached =to the URL because THISURL disregards the variables.[/showif][/showif]/PalleOn 07/02/2012, at 21.12, Palle Bo Nielsen wrote:> Hi Michael,>=20> Do you suggest something like this...?>=20> ------> [show [listchars chars=3D[thisurl]][/listchars]=3D27]>=20> [showif [thisurl]=3Dhttp://www.macnyt.dk/forum/]>=20> This is shown because it equals 27 characters and not =any more than that which could have be the result of variables etc. in =the URL.>=20> [/showif]>=20> [/showif]> ------>=20> /Palle>=20>=20>=20> On 07/02/2012, at 20.55, Michael A. DeLorenzo wrote:>=20>> Sorry. I meant use listchars to compare the urls>>=20>> -----Original Message----->> From: Michael A. DeLorenzo [mailto:michael@oldecarriage.com]=20>> Sent: Tuesday, February 07, 2012 2:53 PM>> To: talk@webdna.us>> Subject: RE: [WebDNA] Good advise on [showif] or alternative...>>=20>> How about counting the first X number of characters and compare them =in the>> showif to your URL?>>=20>> -----Original Message----->> From: Palle Bo Nielsen [mailto:powerpalle@powerpalle.dk]>> Sent: Tuesday, February 07, 2012 2:25 PM>> To: talk@webdna.us>> Subject: [WebDNA] Good advise on [showif] or alternative...>>=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.>>=20>> /Palle--------------------------------------------------------->> This message is sent to you because you are subscribed to the mailing =list>> .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us>>=20>>=20>>=20>>=20>> --------------------------------------------------------->> This message is sent to you because you are subscribed to the mailing =list>> .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us>>=20>>=20>>=20>>=20>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Palle Bo Nielsen
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:
Email within tmpl ? (1997)
double lines in sendmail (2008)
Introduction/Tutorial/QuickStart (1997)
flushdatabases (1997)
Webstar 1.3.1 PPC (1997)
Design Help Needed (1998)
WebCatalog NT beta 18 problem (1997)
Setting up shop (1997)
[isfile] ? (1997)
WebCat2final1 crashes (1997)
[WebDNA] fastcgi 7+ & [cart]? (2010)
RE: [WebDNA] Installing WebDNA on Windows 7 (2009)
RE: IIS 4 (1998)
Details of shipping - Totalqty calculations (1997)
webcat running as www, should that be webstar for use with (2002)
Re:no [search] with NT (1997)
Add message to Order (1997)
[url] link (1998)
(1997)
search form problem.. (1997)