Override tipafriendmail.tpl [SOLVED]

Author Message

Jean-Yves Zinsou

Wednesday 08 April 2009 6:05:11 am

Hi to all,
can someone explain the way to override tipafriendmail.tpl ?

I can figure out the override condition to put in override.ini ...

Jey

Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.fr

Patrick Kaiser

Wednesday 08 April 2009 3:47:12 pm

if you really need a ovverride for this have a look at http://ez.no/doc/ez_publish/technical_manual/4_0/reference/template_override_conditions/content_tipafriendmail_tpl

if you just want to use your own tipafriendmail.tpl just create a template in your own design within the exact same folder structure and name:

example:
extension/yourdesignextension/design/yourdesign/templates/content/tipafriendmail.tpl

eZ will use your template instead of the default one.


Best regards,

Patrick

Jean-Yves Zinsou

Thursday 09 April 2009 12:47:11 am

Thanks Patrick,

I had not found this part of the documentation.

Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.fr

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 31 2025 01:35:00
Script start
Timing: Jan 31 2025 01:35:00
Module start 'layout'
Timing: Jan 31 2025 01:35:00
Module start 'content'
Timing: Jan 31 2025 01:35:00
Module end 'content'
Timing: Jan 31 2025 01:35:00
Script end

Main resources:

Total runtime0.0226 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.2344151.2109
Module start 'layout' 0.00530.0035 739.4453220.6875
Module start 'content' 0.00880.0124 960.1328997.8047
Module end 'content' 0.02120.0013 1,957.937533.9922
Script end 0.0226  1,991.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002410.5352140.0002
Check MTime0.00104.5383140.0001
Mysql Total
Database connection0.00094.014810.0009
Mysqli_queries0.00219.469230.0007
Looping result0.00000.044310.0000
Template Total0.00094.110.0009
Template load0.00073.072310.0007
Template processing0.00021.040610.0002
Override
Cache load0.00041.938810.0004
General
dbfile0.00104.544680.0001
String conversion0.00000.031740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs