On my page I have various links to aspx pages. Most importantly search-results.aspx, articles.aspx and email-a-friend.aspx.
However, I am trying to implement multi language sites, and I have some problems with these links, since they navigate away from the current tree and into the english language tree.
Is there a way to navigate to a page without using the page name?
For example going for the document type in the current tree?
The only workaround I can see is too replace email-a-friend with a dictionary entry.
Like this:
Code:<a class="EmailFriend" title="<?UMBRACO_GETITEM field="#emailFriendLink"/>" href="/email-a-friend.aspx?id=<?UMBRACO_GETITEM field="pageID"/>"><?UMBRACO_GETITEM field="#emailFriendLink"/></a>
Becomes this:
Code:<a class="EmailFriend" title="<?UMBRACO_GETITEM field="#emailFriendLink"/>" href="/<?UMBRACO_GETITEM field="#emailFriendPage"/>.aspx?id=<?UMBRACO_GETITEM field="pageID"/>"><?UMBRACO_GETITEM field="#emailFriendLink"/></a>
But then I have to edit the dictionary every time i change the page's name.
www.eyecatch.no