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.