> Santos
> <[EMAIL PROTECTED]> wrote:
>> Hi all
>>
>> how to get the actual template name(URL)?
>>
>> If http://www.anyURL.com/site/testingURL.cfm is easy to
>> get... After
>> get that URL I'll add my ?var=name.... but...
>>
>> If that URL looks like:
>>
>> http://www.anyURL.com/site/testingURL.cfm?siteID=blablabl
>> a&countryID=blablabla
>>
> To get the template name, you could use:
> listLast(cgi.script_name, "/")
> However, could you maybe elaborate on exactly what you're
> trying to
> accomplish? It seems like you could just use:
> #cgi.script_name#?#cgi.query_string#
> if you're looking to build URLs, but I could be
> misunderstanding what
> you're trying to do.
Or more likely #cgi.script_name#?my=new&query=string
sounds like they're just trying to create links to the current
template with different url variables.
I think you can also just omit the template name and use <a
href="" to get the same effect.
s. isaac dealey 954.927.5117
new epoch : isn't it time for a change?
add features without fixtures with
the onTap open source framework
http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

