Jump to content

Comment avoir tinybrowser dans la langue par défaut ?


Recommended Posts

Bonjour,

j'ai fait la mise à jour de tinymce_update (http://www.prestashop.com/forums/viewthread/11087/third_party_modules/tinymce_update) pour presta 1.3.2.3 et j'aimerais avoir aussi tinybrowser dans la langue par défaut automatiquement...

Problème, je ne sais pas comment faire, j'ai essayé :

$tinybrowser['language'] = $iso;


Sans succès, donc si quelqu'un pouvait m'aider avant que je ne diffuse l'update.

Merci.

Edit :

Avec ça :

$tinybrowser['language'] = ((!file_exists(PS_ADMIN_DIR.'/../js/tinymce/jscripts/tiny_mce/plugins/tinybrowser/langs'.$iso.'.js')) ? 'en' : $iso);



J'ai ça :

Notice: Use of undefined constant PS_ADMIN_DIR - assumed 'PS_ADMIN_DIR' in C:\wamp\www\duteafree\js\tinymce\jscripts\tiny_mce\plugins\tinybrowser\config_tinybrowser.php on line 37

Notice: Undefined variable: iso in C:\wamp\www\duteafree\js\tinymce\jscripts\tiny_mce\plugins\tinybrowser\config_tinybrowser.php on line 37

Warning: mkdir() [function.mkdir]: No such file or directory in C:\wamp\www\duteafree\js\tinymce\jscripts\tiny_mce\plugins\tinybrowser\fns_tinybrowser.php on line 4
Unable to create the '/upload/useruploads/media/' directory - please check your permissions.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...