Additional atributes

Author Message

Arek Czereszewski

Wednesday 23 May 2007 4:00:31 am

Hello,

I an new in EZ world and I have some problem with articles.
If I add text it is OK, but users give me materials in M$ Word, Excel, etc.
and there are tables witch bgcolors, merge cells, some horizontal lines in txt.

How to add articles like this??

Thank you for any link, advice.

Regards
Arek

"UNIX is like a wigwam:
no windows, no gates, apache inside."

Stéphane Bullier

Wednesday 23 May 2007 7:59:07 am

Hello,

You can try to use the open office extension which is included in the 3.9.

http://ez.no/doc/extensions/odf_import_export

Stéphane

Arek Czereszewski

Wednesday 23 May 2007 9:27:49 am

Hi Stéphane,

This is some way, but still not help me.
My boss want custom tables with many different colours in cells,
different alignment, font size, etc.

At this moment we migrate from other cms and we (IT team) copy/paste html.

In next stage basic users (non IT) will write new articles. They don't known
html, css etc. But they want this custom tables, horizontal lines, color txt.

Is there any way to allow them that edition?
Maybe another editor??

I check content.ini and I started adding for some tags additional attributes like
bgcolor, alignment, etc.

But I still have lots of problems with tables.
in source I have

<td bgcolor="#C0C0C0" align="right">

But when I check this article I don't see background in table cell's.

Regards
Arek

"UNIX is like a wigwam:
no windows, no gates, apache inside."

Bartek Modzelewski

Wednesday 23 May 2007 1:43:17 pm

Hi Arek

You can try to replace Online Editor by this contribution:

http://ez.no/community/contribs/applications/sjsd_real_fckeditor_xmltext_integration

It alows to insert much more html tags and styles, but you should remember that it can break your pagelayout in some cases.

You may also need to change some of css styles on your site to have FCK editor as real WYSIWYG editor.

Good luck
Bartek

Baobaz
http://www.baobaz.com

paul bolger

Wednesday 23 May 2007 4:23:19 pm

Hi Arek
You should be able to cut and paste basic tables into the OE, and making special styles for them is relatively simple. Take a look at this thread for some discussion on custom tags.

http://ez.no/community/forum/setup_design/custom_tag__1/re_custom_tag__6

One of the advantages of using eZpublish and the OE is that your users can't introduce their own styling. If you change to a WYSIWYG editor like Fckedit you risk your site ending up looking as messy as a DW site.

Paul Bolger

Paul Bolger

Arek Czereszewski

Wednesday 23 May 2007 11:06:00 pm

Hi Paul,

Thank you for advice.

Basic tables is no problem, but at this moment we have for example:
http://efs.wup-katowice.pl/index.php?option=com_content&task=view&id=40&Itemid=16

And we have many others tables on our sites.

I try use FCK editor like Bartek says.

In my opinion one standard for every sites, tables, etc. is better
but my boss want colourful tables, articles.

Regards
Arek

"UNIX is like a wigwam:
no windows, no gates, apache inside."

Arek Czereszewski

Thursday 24 May 2007 4:03:35 am

Hi again,

I tested FCK editor but it is not work correct.
I can create table with colour background but when I check
article I have:

<td valign="top">  S/1.2a/12/2006
  </td>

:(

Any idea what can I do??

Regards
Arek

"UNIX is like a wigwam:
no windows, no gates, apache inside."

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 00:29:02
Script start
Timing: Jan 19 2025 00:29:02
Module start 'layout'
Timing: Jan 19 2025 00:29:02
Module start 'content'
Timing: Jan 19 2025 00:29:02
Module end 'content'
Timing: Jan 19 2025 00:29:02
Script end

Main resources:

Total runtime0.8960 sec
Peak memory usage4,096.0000 KB
Database Queries73

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 587.9063152.6250
Module start 'layout' 0.00510.0033 740.531339.4453
Module start 'content' 0.00850.8856 779.9766670.3750
Module end 'content' 0.89410.0019 1,450.351616.1719
Script end 0.8959  1,466.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3812160.0002
Check MTime0.00130.1471160.0001
Mysql Total
Database connection0.00070.077810.0007
Mysqli_queries0.812490.6672730.0111
Looping result0.00080.0909710.0000
Template Total0.859896.020.4299
Template load0.00210.236720.0011
Template processing0.857695.719820.4288
Template load and register function0.00020.022410.0002
states
state_id_array0.00080.085810.0008
state_identifier_array0.00160.176920.0008
Override
Cache load0.00200.2248700.0000
Sytem overhead
Fetch class attribute can translate value0.00070.082140.0002
Fetch class attribute name0.00160.178590.0002
XML
Image XML parsing0.00140.159740.0004
class_abstraction
Instantiating content class attribute0.00000.001690.0000
General
dbfile0.00480.5366220.0002
String conversion0.00000.001240.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
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
23content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
15content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 51
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs