Changing CSS for online editor not working...

Author Message

Mark Marsiglio

Thursday 04 December 2003 3:10:52 pm

Any ideas on how to troubleshoot changes to the editor.css in the ezdhtml design folder not taking effect?

Just to make sure my changes would be noticeable, I changed the font size of H1 to 72px, but the editor still shows it the same as it did with the default css.

Has anyone gotten this to work (changing the editor css)?

Also, how do you assign a class to an object in the OE? I see the ability to select a class, but the only choice is [None]. Where do I set the available classes?

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Don MacLeod

Wednesday 11 February 2004 6:56:37 am

Mark

I have exactly the same issue. It's OE 3.2 and I try to make changes to extension/ezdhtml/design/standard/stylesheets/ezdhtml/editor.css. Absoloutely no effect whatsoever. I have also tried making changes to other stylesheets in case they were being picked up in preference to editor.css such as admin.css & core.css but the Editor style remains the same.

It's very frustrating because its not exactly the best WYSIWYG environment whereby the override stylesheet employed to render the final site bears no resemblance at all to what you see in the Editor!

Anyone got an idea on this one??

Thanks,

Don.

Edward Eliot

Wednesday 13 October 2004 3:44:47 am

Anyone know how to do this?

Wenyue Yu

Wednesday 13 October 2004 5:19:22 am

Hi,

After editing extension/ezdhtml/design/standard/stylesheets/ezdhtml/editor.css, go to IE/Tools/Internet Options/General/Delete Files/, check "Delete all offline content" and click ok.

Regards,
wenyue

Sander van den Akker

Tuesday 05 July 2005 8:06:20 am

that doesn't work for me, it is as if the css is not used at all.

eZ Publish certified developer
http://auth.ez.no/certification/verify/392313

Osichr Hayez

Wednesday 02 November 2005 11:45:53 pm

I have the same problem. Not effect when I change the editor.css file.

Even if I rename the file, there is no effect. I supect the file isnt read at all..

Kirill Subbotin

Thursday 03 November 2005 5:13:29 am

Changing editor.css should work in both browsers.

If not, check that you can get this file from your server. Try to enter:
http://your_site_url/extension/ezdhtml/design/standard/stylesheets/ezdhtml/editor.css

If your setup is ok, you will see the css text. If no check rewrite rules, there should be a rule like the following:

Rewriterule ^/extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]

PS. Please write here, does it help you or not!

Osichr Hayez

Thursday 03 November 2005 5:13:33 am

I found the reason for this. My site's url looks like this:

www.myserver.com/~accountname/index.php/site_admin

The OE-javascript doesnt include ~accountname in the path to editor.css.

When configuring a vhost the editor.css file works. Then the url should look like this:

www.myserver.com/index.php/site_admin

Kirill Subbotin

Thursday 03 November 2005 5:15:03 am

If this is the problem, I will make a patch and you will check it, ok?

Osichr Hayez

Thursday 03 November 2005 5:18:33 am

That would be great!

(I also made an entry for this in the OE bug list.)

Kirill Subbotin

Monday 07 November 2005 2:24:04 am

I've done some modifications and I think this will work for non-vhost environments. Here is the patch:

http://ez.no/download/add_ons/online_editor/ez_publish_3_online_editor/css_patch
(I think you have proper access rights on ez.no to get it ?)

Please test it on both browsers (IE, Mozilla) and report us, does it work or not.

Osichr Hayez

Tuesday 06 December 2005 12:06:12 pm

Thanks a lot - the patch works for me!

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 18 2025 16:24:34
Script start
Timing: Jan 18 2025 16:24:34
Module start 'layout'
Timing: Jan 18 2025 16:24:34
Module start 'content'
Timing: Jan 18 2025 16:24:35
Module end 'content'
Timing: Jan 18 2025 16:24:35
Script end

Main resources:

Total runtime0.6437 sec
Peak memory usage4,096.0000 KB
Database Queries94

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.0469152.6406
Module start 'layout' 0.00470.0025 740.687539.4766
Module start 'content' 0.00720.6355 780.1641809.2344
Module end 'content' 0.64270.0010 1,589.398420.1250
Script end 0.6437  1,609.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.4479160.0002
Check MTime0.00120.1937160.0001
Mysql Total
Database connection0.00060.099110.0006
Mysqli_queries0.584290.7564940.0062
Looping result0.00070.1084920.0000
Template Total0.622096.620.3110
Template load0.00150.233520.0008
Template processing0.620596.393020.3103
Template load and register function0.00010.014410.0001
states
state_id_array0.00070.110910.0007
state_identifier_array0.00060.100820.0003
Override
Cache load0.00140.2127530.0000
Sytem overhead
Fetch class attribute can translate value0.00050.078570.0001
Fetch class attribute name0.00080.1189140.0001
XML
Image XML parsing0.00130.207670.0002
class_abstraction
Instantiating content class attribute0.00000.0029140.0000
General
dbfile0.00070.1119220.0000
String conversion0.00000.001040.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
12content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
15content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 34
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs