I need a little quick help.

Author Message

james jackson

Saturday 10 April 2010 10:41:19 am

i'm using one of the templates that comes with standard with the 4.3version http://www.youhavebuyingpower.com/jo/

I have been having the hardest time locating the .tpl file to modify this template.

CAN YOU PLEASE DIRECT ME TO THE EXACT LOCATION OF THIS FILE?

thank for your help it is greatly appreciated.

Robin Muilwijk

Saturday 10 April 2010 11:21:11 am

Hi James,

You can start in extension\ezwebin\design\ezwebin\templates. It might be smart to enable template debugging in the back end, this also displays templates files used on your site.

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

james jackson

Saturday 10 April 2010 11:34:56 am

Thanks Robin. You have helped to lower my blood pressure. I was really frustrated.

is Template Debugging done in the admin area or via code?

Robin Muilwijk

Saturday 10 April 2010 12:10:08 pm

Hi James,

If you login to the back end, look on the right. There should be a debug block showing with some checkboxes to enable template debugging.

-- Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

james jackson

Saturday 10 April 2010 3:48:26 pm

Hi Robin,

Thanks again for your help. But I just checked and the extension\ezwebin\ directory doesn't exist

only

ezcomments

ezfind

ezsurvery

ezscriptmonitor

ezoracle

ezoe

ezodf

ezmultiupload

ezmpaex

Robin Muilwijk

Sunday 11 April 2010 1:34:50 am

Hi,

Enable that template debug and the used/active design should show.

-- Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Nicolas Pastorino

Monday 12 April 2010 2:18:44 am

Hi James and welcome in the eZ Community,

For a start, in order to set your eZ Publish instance to debug mode, here are the few lines you can place at the beginning of the 'settings/override/site.ini.append.php' :

[DebugSettings]
DebugOutput=enabled

[TemplateSettings]
Debug=enabled
ShowXHTMLCode=disabled
ShowUsedTemplates=enabled
DevelopmentMode=enabled

[ContentSettings]
ViewCaching=disabled

These settings should only be used when developing, and by no means on a production setup. After altering the settings and clearing the caches (from the back-office, right-column), you will see a few new things when loading a page, among them the list of templates used to build the page, at the very bottom of the page. This will give you the paths you are currently looking for.

Also, for daily reference and continuous learning, you may want to have a look at the eZ Publish online documentation, and particularly the

  • concepts and basics section : http://ez.no/doc/ez_publish/technical_manual/4_x/concepts_and_basics
  • templates : http://ez.no/doc/ez_publish/technical_manual/4_x/templates
  • template engine reference, all menu subentries starting with "Template" there : http://ez.no/doc/ez_publish/technical_manual/4_x/reference

Keep us posted on your progress, we like helping people get addicted to eZ Publish :)
Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

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 10:30:40
Script start
Timing: Jan 18 2025 10:30:40
Module start 'layout'
Timing: Jan 18 2025 10:30:40
Module start 'content'
Timing: Jan 18 2025 10:30:41
Module end 'content'
Timing: Jan 18 2025 10:30:41
Script end

Main resources:

Total runtime1.0818 sec
Peak memory usage4,096.0000 KB
Database Queries72

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 589.0469152.6250
Module start 'layout' 0.00730.0039 741.671939.4453
Module start 'content' 0.01121.0692 781.1172633.4453
Module end 'content' 1.08030.0015 1,414.562520.1641
Script end 1.0818  1,434.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3285160.0002
Check MTime0.00150.1410160.0001
Mysql Total
Database connection0.00090.086310.0009
Mysqli_queries1.009193.2736720.0140
Looping result0.00070.0622700.0000
Template Total1.048596.920.5243
Template load0.00240.226120.0012
Template processing1.046196.694220.5230
Template load and register function0.00030.023610.0003
states
state_id_array0.00070.065810.0007
state_identifier_array0.00080.073220.0004
Override
Cache load0.00210.1953520.0000
Sytem overhead
Fetch class attribute can translate value0.00060.051230.0002
Fetch class attribute name0.00140.132890.0002
XML
Image XML parsing0.00120.109330.0004
class_abstraction
Instantiating content class attribute0.00000.0025110.0000
General
dbfile0.00150.1351240.0001
String conversion0.00000.000940.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
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 28
 Number of unique templates used: 10

Time used to render debug report: 0.0002 secs