What is in the location custom tag? It doesn't sound like it is an issue
with the installation of the tag or you would get an error saying it
couldn't find it.

You also don't happen to have a file called location.cfm in the calling
directory (or its' parent directories) do you?

If so, maybe it is using that template instead. Just a thought. 
 
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 

-----Original Message-----
From: Eric Vineyard [mailto:eric.viney...@hotmail.com] 
Sent: Tuesday, January 25, 2011 3:45 PM
To: cf-talk
Subject: Re: Custom Tags, cf_location


> Why not use <cflocation />
> http://livedocs.adobe.
> com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.
> htm?context=ColdFusion_Documentation&file=00000284.htm#wp1100753
> 
> On Tue, Jan 25, 2011 at 2:34 PM, Eric Vineyard <eric.vineyard@hotmail.
> com>wrote:
> 
> >
> > Hi, I'm trying to implement custom tags into a website I'm working 
> with,
> > but I'm not having much success with one in particular, 
> "cf_location".
> >
> > I'm using the 2.0.1 hosted on Adobe's website. The CF server I'm 
> running is
> > CF7, and I'm using a designated sub directory listed in the 
> coldfusion admin
> > as my custom tags folder.
> >
> > Whenever I try to call <cf_location url='blah.cfm' /> It 
> automatically
> > redirects to "http:/'servername'.com/foo". What am I doing wrong 
> here?
> >
> > 
Because the website that I'm working with has thousands of <cflocation>'s.
My entire reason for using <cf_location> was so that I wouldn't have the
annoying, and highly unneccessary "cftoken" in my urls. It's much easier to
just simply use a custom tag that defaults to "no" than to Find and Replace
every single tag with "addToken="no". I'm also trying to use customtags as
somewhat of a learning experience since I've not dealt with them much. I
don't really consider myself to be a novice with CF, but I'm also not an
expert.

I have a different customtag that works perfectly fine, but the cf_location
does not. 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341187
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to