Creating CSS Class

Author Message

Daniel Lopes

Tuesday 09 June 2009 11:36:19 am

Hi there,

I would like to create a new css class for a table, but I can't write with online editor.

One Header
One line...
<table class="my_new_class">
  <tr>
    <td>Product</td>
    <td>Price</td>
  </tr>
  ...
</table>

When I try saved, this message is printed: 'Required data is either missing or is invalid'

Thanks,

Radek Kuchta

Tuesday 09 June 2009 12:25:12 pm

First of all you should define your CSS class in settings/override/conten.ini.append.php file.
There is AvailableClasses array for any html object.

Next step is selecting that class in properties of table (OE).

http://ez.no/certification/verify/272582

Daniel Lopes

Tuesday 09 June 2009 1:09:18 pm

Hi Radek,

thank you for your replay.
it's all right now.

bye

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

Main resources:

Total runtime0.8446 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0036 588.9141152.6094
Module start 'layout' 0.00360.0036 741.523439.4297
Module start 'content' 0.00730.8358 780.9531538.6953
Module end 'content' 0.84300.0015 1,319.648412.1875
Script end 0.8446  1,331.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3713160.0002
Check MTime0.00130.1598160.0001
Mysql Total
Database connection0.00040.047710.0004
Mysqli_queries0.786393.0915570.0138
Looping result0.00050.0563550.0000
Template Total0.816796.720.4084
Template load0.00210.249020.0011
Template processing0.814696.451020.4073
Template load and register function0.00030.033710.0003
states
state_id_array0.00140.170210.0014
state_identifier_array0.00130.155020.0007
Override
Cache load0.00180.2105200.0001
Sytem overhead
Fetch class attribute can translate value0.00100.118920.0005
Fetch class attribute name0.00110.135650.0002
XML
Image XML parsing0.00350.414520.0018
class_abstraction
Instantiating content class attribute0.00000.001260.0000
General
dbfile0.00310.3647220.0001
String conversion0.00000.000840.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
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/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/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: 7

Time used to render debug report: 0.0001 secs