IDRsolutions Posted May 8, 2013 Share Posted May 8, 2013 (edited) HI, When trying to edit email templates from the back office in 1.5.4.1 I am presented with an error on save: Cannot write language file for email subjects. Path is: /var/www/vhosts/MYDOMAIN.com/httpdocs/shop/themes/default/mails/en/lang.php Firstly I don't have any other languages enabled. Secondly it is trying to save to the default theme rather than the theme I am using. Thirdly I didn't know the mails should be in an over-ride directory (this makes sense, but there is no mail directory in the default theme - or should there be??). I can edit the files directly (located in SHOPDIR/en/mails) and this works. Any clues as to how to solve this properly or is this down to the next release? Thank you Edited May 8, 2013 by IDRsolutions (see edit history) Link to comment Share on other sites More sharing options...
kmorgen Posted May 29, 2013 Share Posted May 29, 2013 Did you figure it out? - Have the same problems, and also changing the email color in admin does not affect. Link to comment Share on other sites More sharing options...
IDRsolutions Posted May 29, 2013 Author Share Posted May 29, 2013 Hi kmorgen, I just directly edited the templates in SHOPDIRECTORY/mails/en If you are using another language you may have to make the same changes in the other language directories (replace en with fr etc). I think this is a bug in version 1.5.4.1, so may be fixed in the next release?? With the exception of the smarty tags (in curly brackets {}) its just HTML, so very easy to make changes. Just make sure you make a backup copy as the changes may be over-written with the next upgrade. The HTML email templates have the .html extension and the plain text email have the .txt extension. The filenames are fairly self explanatory. Link to comment Share on other sites More sharing options...
Recommended Posts