Closed (duplicate)
Project:
Link
Version:
6.x-2.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2009 at 13:18 UTC
Updated:
26 Oct 2009 at 18:01 UTC
I am trying to theme a node display that includes the CCK Link field. I want to wrap some text (e.g., Read More About This) with an tag that includes in the href just the URL that is in the Link field. If I use ['field_fieldname_url']->url in the appropriate .tpl file, I get a complete with closing tag. If I use ->raw, I still get a closing "> at the end of the returned data. Is this a bug or by design? Is there a way to get JUST the URL?
Comments
Comment #1
damienmckennaPlease try out the patch in #478922: Add CCK/views formatter to output raw url path and let us know if it works for you.