ecohappy Posted August 28, 2010 Share Posted August 28, 2010 Hello, I cant find in the front office (or other translation options) order-steps translation section, a place to translate an email address - [email protected], it is not on the left hand side in the translation options, and it comes up on my webpage underneath my real email address as a link. Im using the black and white theme. Any advise on how i can fix this will be greatly appreciated - thank you in advance - Astra Link to comment Share on other sites More sharing options...
rocky Posted August 29, 2010 Share Posted August 29, 2010 Topic moved and renamed since it is related to a third-party themeThe author mustn't have made that part translatable. You'll need to search through the theme's TPL files for that email address and change it there. Link to comment Share on other sites More sharing options...
razaro Posted August 29, 2010 Share Posted August 29, 2010 Image in attachment is from theme zip file.So you need to change ..themes/blackwhite/order-steps.tpl Link to comment Share on other sites More sharing options...
ecohappy Posted August 30, 2010 Author Share Posted August 30, 2010 thank you very much for your help, but ive come up against another issue... when i download the tpl file to make changes, it opens as a html file and i cant edit it. is there any way i can edit the file from my control panel? Link to comment Share on other sites More sharing options...
razaro Posted August 30, 2010 Share Posted August 30, 2010 Not sure about change in control panel (maybe in file manager edit as plain text) but you should be able to download tpl file to your computer edit in text editor and then upload back to server with ftp. Link to comment Share on other sites More sharing options...
ecohappy Posted September 3, 2010 Author Share Posted September 3, 2010 Thank you V.I.P, I did manage to do that, I uploaded the edited version and (perhaps stupidly) deleted the original but now the whole order steps section on the right of my website is gone and I cant see how to make it visible again - please help Link to comment Share on other sites More sharing options...
razaro Posted September 3, 2010 Share Posted September 3, 2010 It can be error in tpl so that part is not shown.I changed original a little so you could translate(set correct ) email in back office.File is in attached zip. order-steps.zip Link to comment Share on other sites More sharing options...
ecohappy Posted September 3, 2010 Author Share Posted September 3, 2010 Ok thanks for that now i can change the translation in the back office but the order steps module is still not there on my webpage, can you suggest anything else? Link to comment Share on other sites More sharing options...
razaro Posted September 3, 2010 Share Posted September 3, 2010 Clear your browser cache and also delete all files from ..tools/smarty/compile folder except index.php.Also try to temporally to turn on debug mode from config/config.inc.php /* Debug only */ @ini_set(‘display_errors’, ‘on’); and if there is any error on that page post it.And link to your site could be helpful, PM if you want. Link to comment Share on other sites More sharing options...
ecohappy Posted September 3, 2010 Author Share Posted September 3, 2010 here is what is on that page after i switched to 'on'<?php/* Debug only */@ini_set('display_errors', 'on');define('_PS_DEBUG_SQL_', false);/* Improve PHP configuration to prevent issues */@ini_set('upload_max_filesize', '100M');@ini_set('default_charset', 'utf-8');/* Correct Apache charset */header('Content-Type: text/html; charset=utf-8');/* Autoload */function __autoload($className){ if (!class_exists($className, false)) require_once(dirname(__FILE__).'/../classes/'.$className.'.php');}/* No settings file? goto installer...*/if (!file_exists(dirname(__FILE__).'/settings.inc.php')){ $dir = ((is_dir($_SERVER['REQUEST_URI']) OR substr($_SERVER['REQUEST_URI'], -1) == '/') ? $_SERVER['REQUEST_URI'] : dirname($_SERVER['REQUEST_URI']).'/'); if(!file_exists(dirname(__FILE__).'/../install')) die('Error: \'install\' directory is missing'); Tools::redirect('install', $dir);}include(dirname(__FILE__).'/settings.inc.php');/* Redefine REQUEST_URI if empty (on some webservers...) */if (!isset($_SERVER['REQUEST_URI']) OR empty($_SERVER['REQUEST_URI'])){ $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME']; if (isset($_SERVER['QUERY_STRING']) AND !empty($_SERVER['QUERY_STRING'])) $_SERVER['REQUEST_URI'] .= '?'.$_SERVER['QUERY_STRING'];}/* Include all defines */include(dirname(__FILE__).'/defines.inc.php');/* Defines are not in defines.inc.php file for no conflicts in installer */define('_PS_MAGIC_QUOTES_GPC_', get_magic_quotes_gpc());define('_PS_MODULE_DIR_', _PS_ROOT_DIR_.'/modules/');define('_PS_MYSQL_REAL_ESCAPE_STRING_', function_exists('mysql_real_escape_string'));/* aliases */function p($var) { return (Tools:($var));}function d($var) { Tools:($var);}global $_MODULES;$_MODULES = array();/* Globals */global $defaultCountry;/* Load all configuration keys */Configuration::loadConfiguration();/* Load all language definitions */Language::loadLanguages();/* Load all zone/tax relations */Tax::loadTaxZones();/* Loading default country */$defaultCountry = new Country(intval(Configuration::get('PS_COUNTRY_DEFAULT')));/* * It is not safe to rely on the system's timezone settings, but we can\'t easily determine the user timezone and the use of this function cause trouble for some configurations. * This will generate a PHP Strict Standards notice. To fix it up, uncomment the following line. */if (function_exists('date_default_timezone_set')){ $timezone = Tools::getTimezones(Configuration::get('PS_TIMEZONE')); date_default_timezone_set($timezone);}/* Smarty */include(dirname(__FILE__).'/smarty.config.inc.php');and here is a link to my site, ill keep it live till i hear back from you - www.ecohappy.ie/shop/ Link to comment Share on other sites More sharing options...
razaro Posted September 3, 2010 Share Posted September 3, 2010 Sorry i wasn't clear after turning debug mode if there is error you should see it in front office,for example on order page.I think you can set it to off.Now about that order page I can see that right part like on screen-shot. Link to comment Share on other sites More sharing options...
ecohappy Posted September 3, 2010 Author Share Posted September 3, 2010 thank you so much its all working here too now your help is really really appreciated 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