Share » Forums » Setup & design » Tool Bar ---make the title a link

Tool Bar ---make the title a link

Tool Bar ---make the title a link

Monday 12 July 2004 2:46:20 pm - 4 replies

Author Message

Bruce Morrison

Monday 12 July 2004 4:25:09 pm

Hi Kevin

You need to retrieve the node first

Try:

{let node=fetch(content,node,hash(node_id,$parent_node))}
<a href={$node.url_alias|ezurl}>{$title}</a>
{/let}

Cheers
Bruce http://www.designit.com.au/

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Kevin Myles

Monday 12 July 2004 8:47:04 pm

Bruce, thanks for your reply, mate.
I've tried my best to use your code, but it's not working. I think you're right that i need to add a fetch for the node, but i wonder if the syntax is wrong somehow?

I've tried tweaking it several times (moving the {/let}, droping the "$" from the fetch.

in my full folder view template override, i know this retrieves the subfolder names of the containing folder

{section name=Folder loop=$folder_list}

should i add something like this? it seems like a strech, but again i can't make your suggestion work. any ideas?

Anyway, thanks again for your support!

Bruce Morrison

Monday 12 July 2004 9:19:50 pm

I've edited the original message and fixed up some mistakes.

I really should have some coffee before I do _anything_ in the morning ;)

Cheers
Bruce http://www.designit.com.au/

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Kevin Myles

Tuesday 13 July 2004 8:23:42 am

Bruce,
thank you so much. it works perfectly now.
Cheers, Kevin.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu