From: Dave Stengel <dave@mobilinkpro.com>
To: talk@webdna.us
Sent: Sat, March 3, 2012 3:30:28 PM
Subject: Re: [WebDNA] [thisurlplusget] not working
I have v6 OSX. Maybe a 7 feature.
This works perfect, thanks for your help. I just added [Hideif] to
hide the cart variable.
[function name=fn_thisurlplusget]
[return][ThisURL][FormVariables][Hideif [name]=cart][if
("[index]"="1")][then]?[/then][else]&[/else][/if][name]=[URL][value][/URL][/Hideif][/FormVariables][/return]
[/function]
[!]---fn_thisurlplusget---[/!]
__________________________________________
On Sat, Mar 3, 2012 at 2:33 PM, Govinda <
govinda.webdnatalk@gmail.com> wrote:
>
>> Technical reference under [thisurl] says [thisurlplusget] will return
>> "this url with variables" but all I get is [thisurlplusget]. Is there
>> a trick to using this? I can't find [thisurlplusget] in any past
>> talklist posts, maybe new feature?
>>
>> Dave Stengel
>
> Hi Dave
>
> Yes it is a relatively new tag. Not sure which versions of webdna it works on.. and which is does not. But you can sidestep the whole need to depend on it pretty easily... like so:
>
> stick this at the top of your page.. or in an included library: (not tested.. so just reply here again in case something does not work.. and I'll look again)
>
> [function name=fn_thisurlplusget]
> [return][ThisURL][FormVariables][if ("[index]"="1")][then]?[/then][else]&[/else][/if][name]=[URL][value][/URL][/FormVariables][/return]
> [/function][!]---fn_thisurlplusget---[/!]
>
> ...and then stick this wherever you wanted [thisurlplusget]:
>
> [fn_thisurlplusget]
>
> -Govinda---------------------------------------------------------
> This message is sent to you because you are subscribed to
> the mailing list <
talk@webdna.us>.
> To unsubscribe, E-mail to: <
talk-leave@webdna.us>
> archives:
http://mail.webdna.us/list/talk@webdna.us> Bug Reporting:
support@webdna.us--
Dave Stengel
http://www.mobilinksoftware.com209.820.1300
dave@mobilinkpro.com---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <
talk@webdna.us>.
To unsubscribe, E-mail to: <
talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting:
support@webdna.us