Online Editor forgets my table class

Author Message

Trond Åge Kvalø

Friday 15 October 2004 6:01:55 am

Hi there!

I have at last successfully managed to populate the Class field in the online editor with classes for my tables.

But the classes are "forgotten" in the publishing process.

I click a table in the OE and select properties. In the dialog I choose "right-table" from the "Class" dropdown list.

Then I send to publishing. But the table is given the class "renderedtable", which is the default if the user has not given any class.

Problem is, I'd expect the table to now have the class "right-table" since that's what I chose.

Can anyone please shed some light on this issue?

Best regards

trondåge

Trond Åge Kvalø

Monday 25 October 2004 6:21:25 am

Ok, I need to bump this question.

I have an eZXML textfield where I have inserted a table.
I try to give this table a classification using the Online Editor.
But when the object is published, the classification is "lost".
I cannot find any good docs about this, so if someone could help me I'd be
very grateful.

I see in the docs that classification is not the same as CSS classes.
Can anyone explain the difference to me?

Best regards

trondåge

Wenyue Yu

Monday 25 October 2004 6:44:11 am

Hi,

When table border is 0, the class can not be saved correctly. This bug had been reported and fixed. Is that your case?

See my last post in http://www.ez.no/community/forum/general/nesting_tags_within_custom_tags_online_editor_says_they_are_not_allowed to know how to fix it yourself.

The difference between classification in eZ publish and CSS classes is that you can use classification as CSS class and you can also use it as override key to override templates.

Regards,
wenyue

Trond Åge Kvalø

Monday 25 October 2004 7:06:59 am

Hello Wenyue!

Yeah, I just spotted that post, and that was my issue as well.

Thank you very, very much for clearing this out.

Is this corrected in the latest stable SVN?

thank you again

trondåge

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 30 2025 22:27:46
Script start
Timing: Jan 30 2025 22:27:46
Module start 'layout'
Timing: Jan 30 2025 22:27:46
Module start 'content'
Timing: Jan 30 2025 22:27:47
Module end 'content'
Timing: Jan 30 2025 22:27:47
Script end

Main resources:

Total runtime1.4503 sec
Peak memory usage8,192.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.2500151.2266
Module start 'layout' 0.00540.0045 739.4766220.7188
Module start 'content' 0.01001.4396 960.19534,311.2891
Module end 'content' 1.44960.0007 5,271.484411.8281
Script end 1.4503  5,283.3125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2413160.0002
Check MTime0.00130.0912160.0001
Mysql Total
Database connection0.00060.038110.0006
Mysqli_queries1.363694.0237600.0227
Looping result0.00060.0429580.0000
Template Total1.395996.320.6980
Template load0.00190.132720.0010
Template processing1.394096.117020.6970
Template load and register function0.00190.131710.0019
states
state_id_array0.00330.226910.0033
state_identifier_array0.00230.161120.0012
Override
Cache load0.00160.1071340.0000
Sytem overhead
Fetch class attribute can translate value0.00180.125220.0009
Fetch class attribute name0.00190.134040.0005
XML
Image XML parsing0.00030.018520.0001
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00230.1563100.0002
String conversion0.00000.000540.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/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: 16
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs