Some strange ..

Author Message

Philippe VINCENT-ROYOL

Tuesday 22 April 2008 12:34:26 am

Hello,

I've finally create a import file but i've a strange think.
When i create object and node, default language is eng-GB. I've checked my siteaccess but local, regionalsettings are "fre-FR"
Can i specify the defaut language on eZScript classes? or are they an other solution?

thanks in advance.

Philippe

Certified Developer (4.1): http://auth.ez.no/certification/verify/272607
Certified Developer (4.4): http://auth.ez.no/certification/verify/377321

G+ : http://plus.tl/dspe
Twitter : http://twitter.com/dspe

Philippe VINCENT-ROYOL

Wednesday 23 April 2008 1:48:32 am

find solution..

just add before $script->initialise,

$script->setUseSiteAccess( $mysiteaccess );

Certified Developer (4.1): http://auth.ez.no/certification/verify/272607
Certified Developer (4.4): http://auth.ez.no/certification/verify/377321

G+ : http://plus.tl/dspe
Twitter : http://twitter.com/dspe

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