Forums / Setup & design / I need a little quick help.

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