Forums / Setup & design / submission problem :( / Comment12220
Selmah Maxim
Saturday 10 May 2003 8:17:14 am
just found this :
___________________ ezcontentobject.php __________ function defaultLanguage() { $ini =& eZINI::instance(); return $ini->variable( 'RegionalSettings', 'ContentObjectLocale' ); // return eZLocale::currentLocaleCode(); } ___________ if ( !$translation ) { $translation = $this->defaultLanguage(); } $query = "INSERT INTO ezcontentobject_name( contentobject_id, name, content_version, content_translation, real_translation ) VALUES( '$objectID', '$objectName', '$versionNum', '$translation', '$translation' )";
______________________
how can i pass the $translation ?i had made hidden input with translation name, but the query wan`t get it !
any idea ?!