Re: [WebDNA] Good advise on [Showif] or alternative...

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 108546
interpreted = N
texte = What about [function name=3DCALL_DOMAIN][return][listmimeheaders = name=3Dhost&exact=3DF][url][value][/url][/listmimeheaders][/return][/funct= ion] the URL that was called is [CALL_DOMAIN][thisurlplusget] Then you compare it with www.macnyt.dk/forum/ - chris On Feb 7, 2012, at 18:34, Palle Bo Nielsen wrote: > Hi Dave, >=20 > The &exact=3DT would just be considered a part of the URL and = according to the documentation there is not place for an exact=3Dt in = this context, unfortunately. >=20 > /Palle >=20 >=20 > On 07/02/2012, at 21.30, Dave Stengel wrote: >=20 >> Not sure is this would work but maybe try adding &exact=3DT to the = string >>=20 >> [showif [thisurl]=3Dhttp://www.macnyt.dk/&exact=3DT] -- RESULT A = [/showif] >>=20 >> Dave >> ______________________________ >>=20 >> On Tue, Feb 7, 2012 at 11:49 AM, Palle Bo Nielsen >> wrote: >>> Hi Dave, >>>=20 >>> I would argue that... >>>=20 >>> If actual URL was 'http://www.macnyt.dk/something/' then both A and = B scenarios would. >>>=20 >>> Expected result is that only RESULT B should be the case. >>>=20 >>> And please note that actual URL should be based on a 'pure' URL with = no variables like your alternative suggestions (this is my ambition)... >>>=20 >>> [showif [thisurl]=3Dhttp://www.macnyt.dk/] -- RESULT A [/showif] >>> [showif [thisurl]=3Dhttp://www.macnyt.dk/something/] -- RESULT B = [/showif] >>>=20 >>> /Palle >>>=20 >>>=20 >>>=20 >>> On 07/02/2012, at 20.40, Dave Stengel wrote: >>>=20 >>>> If you're showing based on current url maybe try: >>>>=20 >>>> [showif [thisurl]=3Dhttp://www.macnyt.dk/forum/] >>>>=20 >>>> or you could pass a variable in a link from the proceeding page = like: >>>>=20 >>>> Link = to Forum >>>>=20 >>>> then on http://www.macnyt.dk/forum/ put your showif >>>>=20 >>>> [showif [do]=3Dshow]http://www.macnyt.dk/forum/[/Showif] >>>>=20 >>>> Good luck, hope this helps. >>>> Dave >>>> ________________________ >>>>=20 >>>>=20 >>>>=20 >>>> On Tue, Feb 7, 2012 at 11:24 AM, Palle Bo Nielsen >>>> wrote: >>>>> 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 >>>> -- >>>> Dave Stengel >>>>=20 >>>> http://www.mobilinksoftware.com >>>> 209.820.1300 >>>> dave@mobilinkpro.com >>>> --------------------------------------------------------- >>>> 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 >>=20 >>=20 >>=20 >> --=20 >> Dave Stengel >>=20 >> http://www.mobilinksoftware.com >> 209.820.1300 >> dave@mobilinkpro.com >> --------------------------------------------------------- >> 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)
What about [function name=3DCALL_DOMAIN][return][listmimeheaders = name=3Dhost&exact=3DF][url][value][/url][/listmimeheaders][/return][/funct= ion] the URL that was called is [CALL_DOMAIN][thisurlplusget] Then you compare it with www.macnyt.dk/forum/ - chris On Feb 7, 2012, at 18:34, Palle Bo Nielsen wrote: > Hi Dave, >=20 > The &exact=3DT would just be considered a part of the URL and = according to the documentation there is not place for an exact=3Dt in = this context, unfortunately. >=20 > /Palle >=20 >=20 > On 07/02/2012, at 21.30, Dave Stengel wrote: >=20 >> Not sure is this would work but maybe try adding &exact=3DT to the = string >>=20 >> [showif [thisurl]=3Dhttp://www.macnyt.dk/&exact=3DT] -- RESULT A = [/showif] >>=20 >> Dave >> ______________________________ >>=20 >> On Tue, Feb 7, 2012 at 11:49 AM, Palle Bo Nielsen >> wrote: >>> Hi Dave, >>>=20 >>> I would argue that... >>>=20 >>> If actual URL was 'http://www.macnyt.dk/something/' then both A and = B scenarios would. >>>=20 >>> Expected result is that only RESULT B should be the case. >>>=20 >>> And please note that actual URL should be based on a 'pure' URL with = no variables like your alternative suggestions (this is my ambition)... >>>=20 >>> [showif [thisurl]=3Dhttp://www.macnyt.dk/] -- RESULT A [/showif] >>> [showif [thisurl]=3Dhttp://www.macnyt.dk/something/] -- RESULT B = [/showif] >>>=20 >>> /Palle >>>=20 >>>=20 >>>=20 >>> On 07/02/2012, at 20.40, Dave Stengel wrote: >>>=20 >>>> If you're showing based on current url maybe try: >>>>=20 >>>> [showif [thisurl]=3Dhttp://www.macnyt.dk/forum/] >>>>=20 >>>> or you could pass a variable in a link from the proceeding page = like: >>>>=20 >>>> [cart]">Link = to Forum >>>>=20 >>>> then on http://www.macnyt.dk/forum/ put your showif >>>>=20 >>>> [showif [do]=3Dshow]http://www.macnyt.dk/forum/[/Showif] >>>>=20 >>>> Good luck, hope this helps. >>>> Dave >>>> ________________________ >>>>=20 >>>>=20 >>>>=20 >>>> On Tue, Feb 7, 2012 at 11:24 AM, Palle Bo Nielsen >>>> wrote: >>>>> 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 >>>> -- >>>> Dave Stengel >>>>=20 >>>> http://www.mobilinksoftware.com >>>> 209.820.1300 >>>> dave@mobilinkpro.com >>>> --------------------------------------------------------- >>>> 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 >>=20 >>=20 >>=20 >> --=20 >> Dave Stengel >>=20 >> http://www.mobilinksoftware.com >> 209.820.1300 >> dave@mobilinkpro.com >> --------------------------------------------------------- >> 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 christophe.billiottet@webdna.us

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:

Location of Browser Info.txt file (1997) [WebDNA] Imagemagick (2018) sort problems....bug or brain fart? (1997) WCS Newbie question (1997) WebDNA Solutions ... sorry! (1997) Preventing Safari caching (2003) Expert tech support -- a fast and simple solution (long) ... (2000) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) Merging databases (1997) HTML editing and webcatalog (2000) Banner DNA (1997) Strange intermittent WebDNA problems (2008) Rhapsody? (1997) Search design (1997) OT:Stock Quotes (2000) Chatroom (2000) WebCat2b15MacPlugin - [protect] (1997) passing a webdna variable into javascript/cgi (2002) Running _every_ page through WebCat ? (1997) Exists? (1997)