eZ Publish Online Editor (EZDHTML) : problems

Author Message

Anthony M.

Thursday 08 February 2007 5:08:24 am

Hi,

i've installed the extension ezdhtml (version 4.2) for ezpublish 3.9, and i have some questions :

- how can i put the tools bar in french ??

- i put a H1 title, a H2 title, a normal text with their own style from the file «extension\ezdhtml\design\standard\stylesheets\ezdhtml\editor.css », but when i want to see the content on my website, there aren't the style corresponding to the tag, why ?? i must define again new style ?? how can i get the style ??

- Why ezpublish add for example « <a name="eztoc1207_1" id="eztoc1207_1"></a> » before my H1or H2 titles (for example) ??

- Why ezpublish convert my H1 in the back into H2 in the front ??

Thanks you very much

Anthony

Damien Pobel

Thursday 08 February 2007 12:30:05 pm

> how can i put the tools bar in french ??
The siteaccess where you use the editor should be in French. in settings/siteaccess/your_site_acess/site.ini.append.php you should have a section like

[RegionalSettings]
Locale=fre-FR
ContentObjectLocale=fre-FR
SiteLanguageList[]=fre-FR
TextTranslation=enabled

> i put a H1 title, a H2 title, a normal text with their own style from the file «extension\ezdhtml\design\standard\stylesheets\ezdhtml\editor.css », but when i want to see the content on my website, there aren't the style corresponding to the tag, why ?? i must define again new style ?? how can i get the style ??
This simplest to do that is to define some available CSS classes for headers in settings/override/content.ini.append.php and then in the Online Editor, you can do a right clic on it, select "Propriétés" and choose the CSS class for the element that will be applicated in the site. See [1].

> Why ezpublish add for example « <a name="eztoc1207_1" id="eztoc1207_1"></a> » before my H1or H2 titles (for example) ??
In order to be compatible with eztoc template operator.

> Why ezpublish convert my H1 in the back into H2 in the front ??
See [2]

[1] http://ez.no/doc/extensions/online_editor/4_x/usage/formatted_text/the_class_parameter
[2] http://ez.no/doc/ez_publish/technical_manual/3_8/reference/datatypes/xml_block#headings

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

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 06:11:43
Script start
Timing: Jan 19 2025 06:11:43
Module start 'layout'
Timing: Jan 19 2025 06:11:43
Module start 'content'
Timing: Jan 19 2025 06:11:43
Module end 'content'
Timing: Jan 19 2025 06:11:43
Script end

Main resources:

Total runtime0.0206 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.2891152.6406
Module start 'layout' 0.00570.0050 741.929739.4766
Module start 'content' 0.01070.0077 781.406389.4922
Module end 'content' 0.01840.0022 870.898434.3047
Script end 0.0206  905.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003114.9227140.0002
Check MTime0.00136.4934140.0001
Mysql Total
Database connection0.00094.434710.0009
Mysqli_queries0.004120.103130.0014
Looping result0.00010.296410.0001
Template Total0.00178.210.0017
Template load0.00094.283010.0009
Template processing0.00083.884710.0008
Override
Cache load0.00063.005810.0006
General
dbfile0.00073.554780.0001
String conversion0.00000.053340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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