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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:54:49
Script start
Timing: Jan 18 2025 02:54:49
Module start 'layout'
Timing: Jan 18 2025 02:54:49
Module start 'content'
Timing: Jan 18 2025 02:54:50
Module end 'content'
Timing: Jan 18 2025 02:54:50
Script end

Main resources:

Total runtime0.3874 sec
Peak memory usage4,096.0000 KB
Database Queries48

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.1953152.6563
Module start 'layout' 0.00480.0031 740.851639.5234
Module start 'content' 0.00780.3778 780.3750409.5156
Module end 'content' 0.38560.0017 1,189.89068.1016
Script end 0.3873  1,197.9922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00280.7323160.0002
Check MTime0.00120.3037160.0001
Mysql Total
Database connection0.00070.186410.0007
Mysqli_queries0.354191.4025480.0074
Looping result0.00050.1343460.0000
Template Total0.359992.920.1799
Template load0.00170.433720.0008
Template processing0.358292.461420.1791
Template load and register function0.00010.032510.0001
states
state_id_array0.00090.223010.0009
state_identifier_array0.00070.182820.0004
Override
Cache load0.00130.333640.0003
Sytem overhead
Fetch class attribute can translate value0.00050.131210.0005
Fetch class attribute name0.00060.156410.0006
XML
Image XML parsing0.00010.022210.0001
class_abstraction
Instantiating content class attribute0.00000.001010.0000
General
dbfile0.00240.6182100.0002
String conversion0.00000.001540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0002 secs