Custom Datatype and ez philosophy ...

Author Message

Christophe Saint-Pierre

Tuesday 21 October 2008 1:02:13 am

Hi,
We have to migrate a site to ezpublish.
For the dynamic content with structured format , no problems , the scripts work fine.
But the site have a lot of static pages.
We imagine create a class "Static page" with a field "Title" and a field "Body" and a program
will parse all the sites and create the nodes in ezpublish.
The fields Body must be editable easily (WYGIWYS) so we wanted to used the datatype XmlBlock with ezoe extension.
But a lot of html balise are lost in the process (no suprising).
I know we could add custom tags but the custom tags are in blue in the interface ..
So we thought that we could create a datatype like Text block (wich no delete unknown html tag)
with tinymce.
I know it's against the ez philosophy to mix content and design...
Would it be so bad ?
Are another solutions existing wich would be better with ez philosophy ?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.