Re: [WebDNA] Good advise on [Showif] or alternative...
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 108545
interpreted = N
texte = Hi Dave,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./PalleOn 07/02/2012, at 21.30, Dave Stengel wrote:> 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
Associated Messages, from the most recent to the oldest:
Hi Dave,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./PalleOn 07/02/2012, at 21.30, Dave Stengel wrote:> 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
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:
unable to launch acgi in WebCat (1997)
Price characteristics? (1997)
WebMerchant still not working!! (1999)
Problem (1997)
special commerce fields (1997)
WebTen and WebCat (1997)
[OT] Google Codesearch (2006)
Detecting SSL or port (2005)
problem with dates, NT version (1997)
[WebDNA] WebDNA receiving numerous signal SIGSEGV then crashing (2016)
[WebDNA] WebDNA future (2010)
[WebDNA] Basic Search - Fix (2008)
Trouble with emailer (2000)
Multiple catalog databases and showcart (1997)
Somewhat OT: IE issues (2002)
[isfile] ? (1997)
WebCatalog Hosting (1996)
UPDATEDONE question ... (1998)
Cookie Question (1999)
Webmerchant (1999)