Page 1 of 1

Edit TXT templates

Posted: Mon Apr 27, 2015 9:33 am
by OCReactive
I can't edit any TXT template, even with the permissions OK.

It says "The email template category_moved.txt is not writable by HESK. Please CHMOD it to 0666." but it IS 666, and with the HTML templates, even without being 666 it lets me make changes.

Re: Edit TXT templates

Posted: Mon Apr 27, 2015 2:34 pm
by mkoch227
Try this change for me:

In admin/manage_email_templates.php, find:

(Line 163)

Code: Select all

$fileWritable = is_writable(HESK_PATH.'language/'.$_GET['language'].'/emails'.$_GET['template']);
replace with

Code: Select all

$fileWritable = is_writable(HESK_PATH.'language/'.$_GET['language'].'/emails/'.$_GET['template']);
Save, upload, and test.

Re: Edit TXT templates

Posted: Mon Apr 27, 2015 3:21 pm
by OCReactive
It works!

Thanks!