Forums / Setup & design / Additional atributes

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."

eZ debug

Timing: Jan 18 2025 21:06:24
Script start
Timing: Jan 18 2025 21:06:24
Module start 'content'
Timing: Jan 18 2025 21:06:24
Module end 'content'
Timing: Jan 18 2025 21:06:24
Script end

Main resources:

Total runtime0.1836 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 587.7031180.8438
Module start 'content' 0.00660.0059 768.5469101.9766
Module end 'content' 0.01250.1710 870.5234530.2500
Script end 0.1835  1,400.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00331.7853200.0002
Check MTime0.00130.7156200.0001
Mysql Total
Database connection0.00080.453710.0008
Mysqli_queries0.137875.04761410.0010
Looping result0.00150.80131390.0000
Template Total0.170692.910.1706
Template load0.00080.461210.0008
Template processing0.169892.464110.1698
Override
Cache load0.00060.330510.0006
Sytem overhead
Fetch class attribute can translate value0.00070.398610.0007
XML
Image XML parsing0.00030.146610.0003
General
dbfile0.00180.9884200.0001
String conversion0.00000.003130.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs