Forums / Setup & design / How to override the template of Website Interface

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?

eZ debug

Timing: Jan 17 2025 23:38:19
Script start
Timing: Jan 17 2025 23:38:19
Module start 'content'
Timing: Jan 17 2025 23:38:20
Module end 'content'
Timing: Jan 17 2025 23:38:20
Script end

Main resources:

Total runtime0.7165 sec
Peak memory usage4,096.0000 KB
Database Queries58

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 592.5234180.8125
Module start 'content' 0.00630.7058 773.3359546.1563
Module end 'content' 0.71210.0044 1,319.492246.3828
Script end 0.7164  1,365.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.4078140.0002
Check MTime0.00130.1786140.0001
Mysql Total
Database connection0.00080.111110.0008
Mysqli_queries0.673393.9765580.0116
Looping result0.00050.0713560.0000
Template Total0.693496.820.3467
Template load0.00180.245220.0009
Template processing0.691696.521920.3458
Template load and register function0.00010.011310.0001
states
state_id_array0.00080.115710.0008
state_identifier_array0.00100.140820.0005
Override
Cache load0.00140.2012280.0001
Sytem overhead
Fetch class attribute can translate value0.00080.110820.0004
Fetch class attribute name0.00110.155950.0002
XML
Image XML parsing0.00100.133220.0005
class_abstraction
Instantiating content class attribute0.00000.001760.0000
General
dbfile0.00140.1981250.0001
String conversion0.00000.000830.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.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/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: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs