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

eZ debug

Timing: Jan 18 2025 00:00:55
Script start
Timing: Jan 18 2025 00:00:55
Module start 'content'
Timing: Jan 18 2025 00:00:56
Module end 'content'
Timing: Jan 18 2025 00:00:56
Script end

Main resources:

Total runtime0.5430 sec
Peak memory usage4,096.0000 KB
Database Queries185

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.1250180.7500
Module start 'content' 0.00550.3915 769.8750414.6250
Module end 'content' 0.39690.1460 1,184.5000333.7578
Script end 0.5429  1,518.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.7061210.0002
Check MTime0.00140.2549210.0001
Mysql Total
Database connection0.00070.121010.0007
Mysqli_queries0.480888.56071850.0026
Looping result0.00350.64321830.0000
Template Total0.515895.020.2579
Template load0.00230.424220.0012
Template processing0.513494.562920.2567
Template load and register function0.00010.021910.0001
states
state_id_array0.00030.055510.0003
state_identifier_array0.00070.137220.0004
Override
Cache load0.00180.340240.0005
Sytem overhead
Fetch class attribute can translate value0.00160.293620.0008
Fetch class attribute name0.00070.124310.0007
XML
Image XML parsing0.00030.064520.0002
class_abstraction
Instantiating content class attribute0.00000.000710.0000
General
dbfile0.00300.5610210.0001
String conversion0.00000.002930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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