Changing OE look

Author Message

Marko Žmak

Tuesday 18 October 2005 11:12:44 pm

I need to change the way OE is displayed when editing a XML field. How do I do that?

I know I can edit ezxmltext_ezdhtml.tpl, but I want to know what's the right way to do it.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Kirill Subbotin

Wednesday 19 October 2005 2:41:22 am

What exactly do you want to change ?

Marko Žmak

Wednesday 19 October 2005 6:34:40 am

Well a few thing. The width and height, the background color, the spacing between textarea and buttons... I wan't to integrated OE with the design of my site, for now it looks too different from the site.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Kirill Subbotin

Thursday 20 October 2005 6:19:05 am

Then no problem with this. You only need to modify corresponding CSS. First you need to find out what classes are used there for elements you want to alter. You can check templates and .js source. You can find HTML strings in .js code and check classes there, for example you can find out what classes are used for toolbar in 'createToolbar' function.

Marko Žmak

Thursday 20 October 2005 10:04:16 am

Well, that's what I tought of too, but I would like to know (from someone with experience) what's the best way to change OE's look.
For example is it better to change the look by changing appropriate CSS classes, or by changing directly the HTML in the template?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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

Main resources:

Total runtime0.8541 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0087 589.0547152.6094
Module start 'layout' 0.00870.0046 741.664139.4141
Module start 'content' 0.01330.8389 781.0781557.2734
Module end 'content' 0.85220.0018 1,338.351612.1875
Script end 0.8541  1,350.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3997160.0002
Check MTime0.00130.1574160.0001
Mysql Total
Database connection0.00150.173210.0015
Mysqli_queries0.802793.9800630.0127
Looping result0.00060.0679610.0000
Template Total0.808694.720.4043
Template load0.00250.293220.0013
Template processing0.806194.379020.4030
Template load and register function0.00010.014710.0001
states
state_id_array0.00100.122810.0010
state_identifier_array0.00100.113820.0005
Override
Cache load0.00200.2373170.0001
Sytem overhead
Fetch class attribute can translate value0.00080.094920.0004
Fetch class attribute name0.00100.119260.0002
XML
Image XML parsing0.00050.058320.0002
class_abstraction
Instantiating content class attribute0.00000.001680.0000
General
dbfile0.00090.1000180.0000
String conversion0.00000.001440.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
5content/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/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: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs