urlAlias() and setCurrentLanguage

Author Message

Julien JOSEPH-AGATHE

Thursday 10 September 2009 10:19:38 am

Hi,

I have an object in different languages. eng-US is the default and fre-FR in second.

I try to get the url_alias of the node of my object in a specific language.

But the urlAlias() always return the default language.

Simple exemple:

$oNode = eZContentObjectTreeNode::fetch(15169, 'fre-FR');
echo $oNode->urlAlias();

it didn't work.

Someone already has this problem ?

Thanks

PS: Sorry for my english

Andy Caiger

Monday 28 December 2009 6:13:32 am

I'm not sure if I have the same problem or not. All I want to do is have the same URLs in all the different languages, basically turn off multilanguage URL aliases. Is there a setting somewhere that will do this? Thanks!

EAB - Integrated Internet Success
Offices in England, France & China.
http://www.eab.co.uk http://www.eab-china.com http://www.eab-france.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.