Forums / Setup & design / main_node_id and url_alias

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

main_node_id and url_alias

Author Message

risto CMS user

Tuesday 29 August 2006 7:37:59 am

How can I have the template link to the main_node url_alias?

If an article has multiple locations, how can I link to the main location if it a result from somwhere else?

Marcin Drozd

Tuesday 29 August 2006 7:48:18 am

Hi
Did U try sth like this: $node.main_node.url_alias ? (or $node.object.main_node.url_alias)

http://ez-publish.pl

risto CMS user

Tuesday 29 August 2006 8:00:24 am

thanks ;-)