mfj31dk Posted August 3, 2013 Share Posted August 3, 2013 (edited) 1.5.4.1 I have tried to change the text in the file editorial.php to Danish, but it still shows the original text "Lorem ipsum etc etc" Why does the Danish defense does not? - It is still the original font is displayed even if it is replaced ... I am providing section of editorial.php as amended: createExampleEditorial($id_shop) { $editorial = new EditorialClass(); $editorial->id_shop = (int)$id_shop; $editorial->body_home_logo_link = 'http://www.prestashop.com'; foreach (Language::getLanguages(false) as $lang) { $editorial->body_title[$lang['id_lang']] = 'Aluminiashoppen'; $editorial->body_subheading[$lang['id_lang']] = ''; $editorial->body_paragraph[$lang['id_lang']] = '<p>Velkommen til min Aluminiashop hvor jeg sælger min store aluminiasamling som jeg har skabt gennem mange år, men nu mener jeg at tiden er til at jeg skille mig af med den.</p>'; $editorial->body_logo_subheading[$lang['id_lang']] = 'Lorem ipsum presta shop amet'; } return $editorial->add(); /mfj31dk Edited August 4, 2013 by mfj31dk (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted August 3, 2013 Share Posted August 3, 2013 moving to development section Link to comment Share on other sites More sharing options...
PascalVG Posted August 4, 2013 Share Posted August 4, 2013 Hi mfj, The exampleeditorial text is 'created' only when installing the module. Therefore if you want it to be created with your changed text, you should uninstall/re-install the 'home text editor' module or you can just press 'Reset' in the module list, which does the same. But don't you want just to edit the text to be shown on your shop page? Then you don't have to edit the source file directly, but just go again to modules->modules, find the 'Home Text editor' module and press 'Configure'. Then you will find a screen where you can change the (example) text to something else (in more languages, if needed) Hope this helps, pascal Link to comment Share on other sites More sharing options...
mfj31dk Posted August 4, 2013 Author Share Posted August 4, 2013 HI PascalVG Many many thanks - it was just what I needed - as you can now see on my page You make my day.. Have a nice day Regards mfj31dk Link to comment Share on other sites More sharing options...
PascalVG Posted August 4, 2013 Share Posted August 4, 2013 Hi Mfj, glad it works for you. Which solution did you use in the end? The reset+edit source or the back office- configure solution? Would love to see result, but then please give the URL to your shop ;-) Cheers, Pascal Link to comment Share on other sites More sharing options...
mfj31dk Posted August 4, 2013 Author Share Posted August 4, 2013 Hi Pascal I used uninstall/re-install the 'home text editor' module and it Works perfect. Thanks Again mfj31dk 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