Re: [WebDNA] Good advise on [Showif] or alternative...
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 108543
interpreted = N
texte = Not sure is this would work but maybe try adding &exact=T to the string[showif [thisurl]=http://www.macnyt.dk/&exact=T] -- RESULT A [/showif]Dave______________________________On Tue, Feb 7, 2012 at 11:49 AM, Palle Bo Nielsen
wrote:> Hi Dave,>> I would argue that...>> If actual URL was 'http://www.macnyt.dk/something/' then both A and B scenarios would.>> Expected result is that only RESULT B should be the case.>> And please note that actual URL should be based on a 'pure' URL with no variables like your alternative suggestions (this is my ambition)...>> [showif [thisurl]=http://www.macnyt.dk/] -- RESULT A [/showif]> [showif [thisurl]=http://www.macnyt.dk/something/] -- RESULT B [/showif]>> /Palle>>>> On 07/02/2012, at 20.40, Dave Stengel wrote:>>> If you're showing based on current url maybe try:>>>> [showif [thisurl]=http://www.macnyt.dk/forum/]>>>> or you could pass a variable in a link from the proceeding page like:>>>> Link to Forum>>>> then on http://www.macnyt.dk/forum/ put your showif>>>> [showif [do]=show]http://www.macnyt.dk/forum/[/Showif]>>>> Good luck, hope this helps.>> Dave>> ________________________>>>>>>>> On Tue, Feb 7, 2012 at 11:24 AM, Palle Bo Nielsen>> wrote:>>> Hi all,>>>>>> Seeking some good advise on what might just be a very simple case...>>>>>> If need to make a [showif] on a specific URL, which needs to be 'http://www.macnyt.dk/forum/' nothing more nothing less.>>>>>> My experience is that if I make an '[showif [something]=http://www.macnyt.dk/forum/?some=additional_variable&and=another]' then is passes as well.>>>>>> 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.>>>>>> Good ideas and inspiration is appreciated.>>>>>> /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>>>>>>>> -->> Dave Stengel>>>> 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>> ---------------------------------------------------------> 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-- Dave Stengelhttp://www.mobilinksoftware.com209.820.1300dave@mobilinkpro.com
Associated Messages, from the most recent to the oldest:
Not sure is this would work but maybe try adding &exact=T to the string[showif [thisurl]=http://www.macnyt.dk/&exact=T] -- RESULT A [/showif]Dave______________________________On Tue, Feb 7, 2012 at 11:49 AM, Palle Bo Nielsen wrote:> Hi Dave,>> I would argue that...>> If actual URL was 'http://www.macnyt.dk/something/' then both A and B scenarios would.>> Expected result is that only RESULT B should be the case.>> And please note that actual URL should be based on a 'pure' URL with no variables like your alternative suggestions (this is my ambition)...>> [showif [thisurl]=http://www.macnyt.dk/] -- RESULT A [/showif]> [showif [thisurl]=http://www.macnyt.dk/something/] -- RESULT B [/showif]>> /Palle>>>> On 07/02/2012, at 20.40, Dave Stengel wrote:>>> If you're showing based on current url maybe try:>>>> [showif [thisurl]=http://www.macnyt.dk/forum/]>>>> or you could pass a variable in a link from the proceeding page like:>>>> [cart]">Link to Forum>>>> then on http://www.macnyt.dk/forum/ put your showif>>>> [showif [do]=show]http://www.macnyt.dk/forum/[/Showif]>>>> Good luck, hope this helps.>> Dave>> ________________________>>>>>>>> On Tue, Feb 7, 2012 at 11:24 AM, Palle Bo Nielsen>> wrote:>>> Hi all,>>>>>> Seeking some good advise on what might just be a very simple case...>>>>>> If need to make a [showif] on a specific URL, which needs to be 'http://www.macnyt.dk/forum/' nothing more nothing less.>>>>>> My experience is that if I make an '[showif [something]=http://www.macnyt.dk/forum/?some=additional_variable&and=another]' then is passes as well.>>>>>> 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.>>>>>> Good ideas and inspiration is appreciated.>>>>>> /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>>>>>>>> -->> Dave Stengel>>>> 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>> ---------------------------------------------------------> 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-- Dave Stengelhttp://www.mobilinksoftware.com209.820.1300dave@mobilinkpro.com
Dave Stengel
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:
For you Unix gurus [OT] (2002)
For those of you not on the WebCatalog Beta... (1997)
problems with WebCat-Plugin (1997)
Robert Minor duplicate mail (1997)
Misunderstanding?? (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Webstar 1.3.1 PPC (1997)
[OT] possible e-attacks this Thursday (2004)
Cart Numbers (1997)
multiple skus (2000)
[OT] DOD (2002)
[WebDNA] Mail and SPF (2011)
[WebDNA] HTML forum (2008)
big database file (2000)
# of real domains on 1 web server (1997)
letterrip and webcats emailer (1998)
Absolute path (2003)
problems with 2 tags (1997)
Showif -what am I missing??? (1999)
[shownext max=?] armed (1997)