Author Topic

Lo' F.

Monday 27 September 2010 11:44:22 am

Comment62014

Let's say I created 4 frontpages under the root node.

In the right column of these frontpage objects I embedded, on a line view, each of them as links to the others. The thing is I need to deactivate the link of the one is already the displayed page. In order to accomplish this, I need to compare each {$object.main_node.node_id} to the current one.

This {$object.main_parent_node_id} returns, of course, the root under which I created those nodes, and so far it's the only outcome I have been able to get.

I need to create the conditional statement and so utilize the current page node_id in the content/view/line.tpl which is the template through which those links come from.

... hope somebody can help..

loredanaebook.it