How to override the template of Website Interface

Author Message

Jianjun Hu

Wednesday 18 November 2009 1:38:33 am

I have installed eZ Publish 4.2.0 with the Website Interface 1.5.

I downloaded a free website template which include index.html, style.css and a images directory.

I like the look&feel of this template. I want to know how to override the template of Website Interface 1.5 with this template.

Thanks!

Best regards

OnlyBlue

☆..·°∴°.☆°°.☆°.
°∴ °☆ .·enjoy star° .·★°∴°
∴°.°★ .·°
  ミ☆°∴°.★☆° ∴·°
°.☆° .·∴° 

Is it a pleasure after all to practice in due time what one has learnt?

André R.

Thursday 19 November 2009 4:31:16 am

There is a tutorial in the forum (or was it an article) somewhere for creating a design package, this is probably what you'll want to do. At least there is a article on how to style webin, it's a bit old, around 2-3years, but should still be valid:
http://ez.no/developer/articles/how_to_skin_an_ez_publish_now_site

Webin is not 1 single template, so you should adjust the css you got there for webin html instead of the other way around. Reason is that you might have to change a lot (templates and css) of stuff if you use the html from the design you got there.

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

Jianjun Hu

Thursday 19 November 2009 4:45:03 pm

Thanks, André R.

I have understanded what your mean. It's very helpful.

Best regards!

OnlyBlue

☆..·°∴°.☆°°.☆°.
°∴ °☆ .·enjoy star° .·★°∴°
∴°.°★ .·°
  ミ☆°∴°.★☆° ∴·°
°.☆° .·∴° 

Is it a pleasure after all to practice in due time what one has learnt?

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 29 2025 23:52:35
Script start
Timing: Jan 29 2025 23:52:35
Module start 'layout'
Timing: Jan 29 2025 23:52:35
Module start 'content'
Timing: Jan 29 2025 23:52:35
Module end 'content'
Timing: Jan 29 2025 23:52:35
Script end

Main resources:

Total runtime0.0144 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 588.2813151.2266
Module start 'layout' 0.00430.0022 739.507836.6797
Module start 'content' 0.00650.0067 776.187594.2813
Module end 'content' 0.01320.0011 870.468833.9922
Script end 0.0143  904.4609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002114.3749140.0001
Check MTime0.00096.5874140.0001
Mysql Total
Database connection0.00074.635610.0007
Mysqli_queries0.002014.139230.0007
Looping result0.00000.069710.0000
Template Total0.00085.910.0008
Template load0.00064.441410.0006
Template processing0.00021.434010.0002
Override
Cache load0.00053.140210.0005
General
dbfile0.002416.547480.0003
String conversion0.00000.034940.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