Jevgen Posted November 5, 2011 Share Posted November 5, 2011 Народ подкажите как сделать имя курьера на разных языках. По умолчанию нельзя его прописывать в разныз языках. Фото прилогаю. Код AdminCarriers.php <label>'.$this->l('Company:').' </label> <div class="margin-form"> <input type="text" size="25" name="name" value="'.htmlentities($this->getFieldValue($obj, 'name'), ENT_COMPAT, 'UTF-8').'" /> <sup>*</sup> <span class="hint" name="help_box">'.$this->l('Allowed characters: letters, spaces and').' ().-<span class="hint-pointer"> </span></span> <p class="clear">'.$this->l('Carrier name displayed during checkout').'<br />'.$this->l('With a value of 0, the carrier name will be replaced by the shop name').'</p> </div> <label>'.$this->l('Logo:').' </label> <div class="margin-form"> <input type="file" name="logo" /> <p>'.$this->l('Upload logo from your computer').' (.gif, .jpg, .jpeg '.$this->l('or').' .png)</p> </div> <label>'.$this->l('Transit time:').' </label> <div class="margin-form">'; foreach ($this->_languages as $language) echo ' <div id="delay_'.$language['id_lang'].'" style="display: '.($language['id_lang'] == $this->_defaultFormLanguage ? 'block' : 'none').'; float: left;"> <input type="text" size="41" maxlength="128" name="delay_'.$language['id_lang'].'" value="'.htmlentities($this->getFieldValue($obj, 'delay', intval($language['id_lang'])), ENT_COMPAT, 'UTF-8').'" /> <sup>*</sup> </div>'; $this->displayFlags($this->_languages, $this->_defaultFormLanguage, 'delay', 'delay'); echo ' <p style="clear: both">'.$this->l('Time taken for product delivery; displayed during checkout').'</p> </div> <label>'.$this->l('URL:').' </label> <div class="margin-form"> <input type="text" size="40" name="url" value="'.htmlentities($this->getFieldValue($obj, 'url'), ENT_COMPAT, 'UTF-8').'" /> <p class="clear">'.$this->l('URL for the tracking number; type \'@\' where the tracking number will appear').'</p> </div> PS 1.3.6.0 Link to comment Share on other sites More sharing options...
Jevgen Posted November 6, 2011 Author Share Posted November 6, 2011 аууууу Link to comment Share on other sites More sharing options...
Jevgen Posted November 6, 2011 Author Share Posted November 6, 2011 Я думаю это актуальный вопрос плииз хелпп Link to comment Share on other sites More sharing options...
Jevgen Posted November 8, 2011 Author Share Posted November 8, 2011 Я даже сократил вам поиск. Действуйте по аналогии. Времени проверять самому нет. Рано на работу. P.S. учите php да я тоже хитрый ) так же делал, но не работает, там видимо в MySql базе в разделе ps_carrier_lang необходимо создать стоблец name...может тогда заработает Link to comment Share on other sites More sharing options...
Jevgen Posted November 8, 2011 Author Share Posted November 8, 2011 если сможете помочь буду благодарен.. Link to comment Share on other sites More sharing options...
Jevgen Posted November 30, 2011 Author Share Posted November 30, 2011 Хелп пипл ! За деньги кто нить сделает ? Link to comment Share on other sites More sharing options...
Jevgen Posted December 9, 2011 Author Share Posted December 9, 2011 помогитееее аууууууууууу Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now