Forums / Developer / URL issue.. / Comment64130
Gaetano Giunta
Thursday 02 December 2010 11:01:43 am
I think I might have misunderstood the question.
If the question is: how do I make a menu that points to the "nice url" for menu items and that works for both the italian and english versions, the answer is pretty simple: fetch the node you want to link to (as you did), and use <code><a href={$node.url_alias|ezurl()}></code> This is by far the most common way of creating links to content within Exponential, btw.
If the question is: how do I make a menu that points to the "nice url" for menu items across languages (ie. that points to the english version of the node even though it is being displayed in the italian siteaccess), then switchlanguage/to is the answer.
Principal Consultant International Business Member of the Community Project Board