I'm confused about how managing the files used by email templates in Gold R10.
Any given client of mine has two email template folders:
/App_Data/EmailTemplates/1/
/App_Data/EmailTemplates/Default/
In the past, if an email template was customized, it would have a delete icon in the email template list. Clicking the delete caused the email template content to revert to the default template found in /Default/. If you didn't see the delete icon, you knew that email template was unmodified and the content would pull from the /defaults/ folder.
Now, that doesn't seem to be the case. If I click Delete on the "Send Product to Friend" email template, the template disappears entirely from the list. And worse, the html file is left behind on the server. Both in the /1/ folder and in the /Default/ folder.
So, with that said....what good is the /default/ folder? And why isn't the html file cleaned up?
Clients sometimes mess up a template. It's easy to do with the nVelocity involved. It would seem more elegant to have a way to revert a template to it's default content without having to locate the original Able install files.
Gold R10 Deleting email template does not delete the file
Gold R10 Deleting email template does not delete the file
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: Gold R10 Deleting email template does not delete the file
I like the suggestion to allow reverting email templates to default/original contents. The "/App_Data/EmailTemplates/Default/" folder contains the original email template files, so only location we need cleanup is "/App_Data/EmailTemplates/1/" folder. I am going to log an issue for this.
Thanks for your support
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Naveed Ashraf

AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter