Forums / Extensions / eZ Newsletter / Override templates both in admin and user interface

Override templates both in admin and user interface

Author Message

Pirouz Samipour

Friday 29 January 2010 7:11:17 am

I have just instlled eznewsletter-1.6-beta as an extension on an ezpublish version 4.2 (ezwebin_site). I used the instructions for a eznewsletter standard version 1.5.3. After the installation, I have got some templates’ override errors both on Administrator and user interface.I have fixed the errors for the administrator interface by placing the templates on the right paths.But I still have some problems with the user interface:I followed the instruction for 'view_newsletter.tpl' and 'newsletter_pagelayout.tpl' stated in the instruction guide on point 6.2, but it is still giving me errors:Custom match file: path 'view_newsletter.tpl' not found in any resource.Custom match file: path 'newsletter_pagelayout.tpl' not found in any resource.Other templates are 'lookandfeel.tpl', 'ezsmstext.tpl', 'category_list.tpl' , article_view.tpl. I had the same problem in the administration interface with these templates. I moved ‘lookandfeel.tpl’ from: "eznewsletter_builder/lookandfeel.tpl"To: "eznewsletter_builder/design/eznewsletter_builder/override/templates/edit/lookandfeel.tpl"'ezsmstext.tpl' from "eznewsletter_builder/ezsmstext.tpl"To: "eznewsletter_builder/design/eznewsletter_builder/override/templates/datatype_edit/ezsmstext.tpl"'category_list.tpl' from: "eznewsletter_builder/category_list.tpl"To: "eznewsletter_builder/design/eznewsletter_builder/override/templates/editor_view/category_list.tpl"‘article_view.tpl’ from: "eznewsletter_builder/article_view.tpl"To: "eznewsletter_builder/design/eznewsletter_builder/override/templates/editor_view/article_view.tpl"But it is apparently not working on the user interface. I appreciate any help.Thanks Pirouz