Need a guiding hand for templates

Author Message

Patrick O'Connor

Tuesday 25 November 2008 3:19:44 pm

I've been commissioned to put an existing website into eZ Publish and can't seem to figure where in the world to start. I read the chapters in the documentation about templates and it talks about override templates and such, but I can't seem to even convert one page into a template.

I'm looking for someone to give me the run down of how I can convert an existing site into eZ Publish, or at least some direction on where I can find help.

Thanks,

-Patrick

Gert

Wednesday 26 November 2008 1:01:45 am

Hi Patrick,

I completely understand your situation, it was also hard for me to start and after doing a couple of projects I'm sometimes still spending hours looking for information.

What really helped me at the beginning was a tutorial on how to build a website from scratch which is already outdated but explained greatly how the different things are interrelated. Check it out:

http://ez.no/no/ezpublish/documentation/building_an_ez_publish_site

In any case I don't see the point of "converting an existing site into ez publish" - it will be more like using the existing site for the layout (pagelayout.tpl) and then create content classes that match with the contents you want to present. Later you need to override templates (which means you need to define which template is shown when you click on a menu element of the section "Feedback", for example).

Hope that helps,

Good luck!

Gert.

canguro web solutions
consulting & development
http://www.canguro.at

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

Main resources:

Total runtime0.0236 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.1563151.2109
Module start 'layout' 0.00530.0041 739.3672220.6875
Module start 'content' 0.00940.0123 960.0547997.7109
Module end 'content' 0.02170.0018 1,957.765629.9922
Script end 0.0235  1,987.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002912.2701140.0002
Check MTime0.00135.3589140.0001
Mysql Total
Database connection0.00083.531510.0008
Mysqli_queries0.002711.514230.0009
Looping result0.00000.054610.0000
Template Total0.00135.610.0013
Template load0.00094.007010.0009
Template processing0.00041.599810.0004
Override
Cache load0.00072.800910.0007
General
dbfile0.00093.845180.0001
String conversion0.00000.131540.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