Gold R10 Deleting email template does not delete the file
Posted: Wed Jan 06, 2016 11:20 am
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.
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.