Forums / Setup & design / Custom design: where to put?

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.

eZ debug

Timing: Jan 18 2025 04:08:08
Script start
Timing: Jan 18 2025 04:08:08
Module start 'content'
Timing: Jan 18 2025 04:08:09
Module end 'content'
Timing: Jan 18 2025 04:08:09
Script end

Main resources:

Total runtime1.4274 sec
Peak memory usage4,096.0000 KB
Database Queries196

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 588.8281180.8359
Module start 'content' 0.00811.3019 769.6641574.3359
Module end 'content' 1.31000.1174 1,344.0000332.7500
Script end 1.4274  1,676.7500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.3023210.0002
Check MTime0.00160.1093210.0001
Mysql Total
Database connection0.00120.087410.0012
Mysqli_queries1.361195.35151960.0069
Looping result0.00200.13971940.0000
Template Total1.395397.720.6976
Template load0.00240.168320.0012
Template processing1.392997.577320.6964
Template load and register function0.00010.009410.0001
states
state_id_array0.00110.073610.0011
state_identifier_array0.00080.055620.0004
Override
Cache load0.00210.1447270.0001
Sytem overhead
Fetch class attribute can translate value0.00110.075540.0003
Fetch class attribute name0.00080.057940.0002
XML
Image XML parsing0.00090.063840.0002
class_abstraction
Instantiating content class attribute0.00000.000440.0000
General
dbfile0.00200.1390280.0001
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs