Custom design: where to put?

Author Message

Mike Schachanski

Monday 26 May 2003 10:22:02 am

I have just downloaded and installed eZ publish 3 a couple of days ago. I've been working a lot with trying to find a step-by-step guide to learing templates, and how to setup my custom design, but I really can't find any good help.

So if you know of a link, or something, please let me know!

-Marius LundgÄrd

Paul Borgermans

Wednesday 28 May 2003 11:56:17 am

Marius,

Start here (you already got past the installation phase):

http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/terminology_basics/custom_designs_directory_structure_explained

Then read

http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/terminology_basics/template_language

and

http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/terminology_basics/view_modes_of_objects

Beware that the template override system is changed with 3.1beta1, but an upgrade path is provided

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

George P.

Sunday 01 June 2003 6:16:06 am

I have also some questions in connection with this item. I just want test a "short curt" to customising an own design by doing the following:

1. create a copy of "Demo" directory in a new one /design/(my-design)/ and then continue adapt it as an own design.
2. in this new design do minimal modification like replace logos, text on menu labels. To simplfy, I intend to keep the same sections.
3. empty the content and put my own Articles, News, Pictures etc
Those steps are quite easy to perform (the last one is done in the Admin)

My questions:
- what is the minimal intervention in ini-files (or other set-up files) in order to point my new layout
- how point the admin interface on the new created design in order to delete/create content
In my installation I wont to keep the demo design (just for reference).

I have knowledge on PHP and MySQL but I don't think this helps just to solve my mentioned questions. In my opinion, to solve this task I would not need (yet) all the recommended start-reading e.g. template language etc.

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

Main resources:

Total runtime0.0262 sec
Peak memory usage8,192.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.1328151.2109
Module start 'layout' 0.00540.0045 739.3438220.6875
Module start 'content' 0.00990.0148 960.0313997.7891
Module end 'content' 0.02470.0014 1,957.820333.9922
Script end 0.0261  1,991.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003412.8957140.0002
Check MTime0.00114.1279140.0001
Mysql Total
Database connection0.00082.949910.0008
Mysqli_queries0.002710.405030.0009
Looping result0.00000.038310.0000
Template Total0.00114.110.0011
Template load0.00093.282510.0009
Template processing0.00020.783510.0002
Override
Cache load0.00062.319510.0006
General
dbfile0.00145.434380.0002
String conversion0.00000.023740.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