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] /Palle On 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:

    
  1. Re: [WebDNA] Good advise on [Showif] or alternative... (Christer Olsson 2012)
  2. Re: [WebDNA] Good advise on [Showif] or alternative... (christophe.billiottet@webdna.us 2012)
  3. Re: [WebDNA] Good advise on [Showif] or alternative... (Palle Bo Nielsen 2012)
  4. Re: [WebDNA] Good advise on [Showif] or alternative... (Palle Bo Nielsen 2012)
  5. Re: [WebDNA] Good advise on [Showif] or alternative... (christophe.billiottet@webdna.us 2012)
  6. Re: [WebDNA] Good advise on [Showif] or alternative... (Palle Bo Nielsen 2012)
  7. Re: [WebDNA] Good advise on [Showif] or alternative... (Govinda 2012)
  8. Re: [WebDNA] Good advise on [Showif] or alternative... (Dave Stengel 2012)
  9. Re: [WebDNA] Good advise on [Showif] or alternative... (Palle Bo Nielsen 2012)
  10. Re: [WebDNA] Good advise on [Showif] or alternative... (Palle Bo Nielsen 2012)
  11. RE: [WebDNA] Good advise on [Showif] or alternative... ("Michael A. DeLorenzo" 2012)
  12. RE: [WebDNA] Good advise on [Showif] or alternative... ("Michael A. DeLorenzo" 2012)
  13. Re: [WebDNA] Good advise on [Showif] or alternative... (Palle Bo Nielsen 2012)
  14. Re: [WebDNA] Good advise on [Showif] or alternative... (Dave Stengel 2012)
  15. [WebDNA] Good advise on [Showif] or alternative... (Palle Bo Nielsen 2012)
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] /Palle On 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:

[shownext] (1998) WC 2.0 frames feature (1997) Announce: WebMerchant 3.0 for Mac shipping now (1998) Re:Virtual hosting and webcatNT (1997) New WebCatalog Version !!! (1997) [format 40s]text[/format] doesn't work (1997) webcat method for waiting specific amount of time? (2000) For those of you not on the WebCatalog Beta... (1997) Hard Questions ? (1997) relogin same user? (1998) Deleteing Based On Dates (2002) Sendmail (1997) How to include weather (2000) Credit card processing - UK (1997) Searchable WebCat (etc.) Docs ? (1997) WebCatalog for Postcards ? (1997) [WebDNA] search command problem (2009) Wierd webdna problem and terminal message (2005) [HIDEIF] inside [FOUNDITEM] (1997) Re:Variable Math (1998)