Forums / Developer / link

link

Author Message

rasha mordi

Tuesday 07 August 2007 4:14:54 am

how to link template in other view ?

Felix Laate

Wednesday 08 August 2007 2:04:26 am

Hi Rasha,

could you please elaborate. What exactly would you like to do?

If I guess right, you are wondering how to make link to switch from one view to another. You then can make a link using the node id as identifier. Lets say you're view the full view of an object and you want to make a link to the list view of that object. You then simply:

<a href="/content/view/line/{$node.node_id}">Link text</a>

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

rasha mordi

Wednesday 08 August 2007 4:19:49 am

hi felix
first thanks for your care, second yes you understood right & already wrote this code line before but now the template that i want link to it is in other view & it in is assigned to attribute in certain section not assigned to certain node. so now after i cleared my topic is this line that you sent before suitable for my topic???

at end forgive me if my question very simple but i am new developer with this field.

thanks in advance
Rasha