Simple tutorial - layout implementation

Author Message

Mihai007 Pop

Monday 26 November 2007 5:22:49 am

Just a quick note: can one include a simplistic tutorial on how to perform a simple task. I mean for example change the entire look and feel of the site, and how to assign it for various portions of the site such as different folder with different look and feel.

Yes I know you can point me to various tutorials, but they are broken in many parts and are not complete. For example: if I want to change the entire layout of the site, I have to read about the pagelayout override system, but there are no mentions of the submenus etc. Then there is the styling of the site using the css from different files with all sort of other overrides. And finally there is the little templates for each view for each class/data types This is just not an easy ride.

What I mean: have you ever tried to purchase a template from www.templatemonster.com and use it on the eZ Publish site??? Not the easiest thing. In eZ 2.x everything was so much simpler when it came to the layout of the site. I could make a new layout and implement it within 5 hours. Also assign it to various sections / folders...!

Maybe there is a tutorial I have overlooked, but if one would just focus on a single topic then this would be much easier (at least for me!)

André R.

Monday 07 January 2008 7:09:57 am

You can find a customization info for ezwebin here:
http://ez.no/doc/extensions/website_interface
http://ezpedia.org/wiki/en/ez/overriding_the_ez_web_interface_ezwebin_with_custom_designs
http://ez.no/developer/forum/setup_design/ezwebin_multiple_domains_and_different_designs_for_each

How many hours you use on implementing a template from a template site highly depends on your knowledge of eZ Publish. yes it's more complex then v2.0x, but it also gives you a lot more flexibility. Styling a ezwebin site shouldn't take more then 5 hours if it's the same basic structure. More flexible menu layouts has existed as patches for a long time so it just depends on resources to get it included.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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

Main resources:

Total runtime0.5948 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 589.1641152.6406
Module start 'layout' 0.00510.0025 741.804739.4766
Module start 'content' 0.00770.5856 781.2813525.8750
Module end 'content' 0.59330.0015 1,307.156312.1406
Script end 0.5948  1,319.2969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.5047160.0002
Check MTime0.00130.2173160.0001
Mysql Total
Database connection0.00080.142910.0008
Mysqli_queries0.552392.8529540.0102
Looping result0.00050.0890520.0000
Template Total0.567895.520.2839
Template load0.00210.360320.0011
Template processing0.565795.105520.2828
Template load and register function0.00020.032810.0002
states
state_id_array0.00070.118510.0007
state_identifier_array0.00120.204020.0006
Override
Cache load0.00180.2991140.0001
Sytem overhead
Fetch class attribute can translate value0.00060.097720.0003
Fetch class attribute name0.00110.184730.0004
XML
Image XML parsing0.00060.093020.0003
class_abstraction
Instantiating content class attribute0.00000.001530.0000
General
dbfile0.00060.1073170.0000
String conversion0.00000.001240.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs