Forums / Developer / Problem with Online Editor

Problem with Online Editor

Author Message

Norman Leutner

Tuesday 21 September 2004 2:11:01 am

I`ve got a problem with the online editor in ez 3.1

When using the Online-Editor within xml text fields,
it shows a new paragraph when pressing enter and
a new line when pressing shift+enter.

Editor View:

line1

line2
line3

Everything is fine until i publish the content.

When viewing the content it`s shown like this:

line1
line2

line3

Within the DB it creates a new paragraph when pressing shift+enter
and a new line when pressing enter.

<?xml version="1.0" encoding="UTF-8"?>
<section xmlns:image="http://ez.no/namespaces/ezpublish3/image/"
         xmlns:xhtml="http://ez.no/namespaces/ezpublish3/xhtml/">
  <paragraph>line1</paragraph>
  <paragraph>
    <line>line2</line>
    <line>line3</line>
  </paragraph>
</section> 

The behavior is switched and formating text is nearly unpossible.

How can i solve that problem?

Thanks in advance

Norman Leutner

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

Norman Leutner

Wednesday 13 October 2004 12:37:23 am

Does nobody have an idea how to fix that problem?

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

K259

Wednesday 13 October 2004 6:36:53 am

Hi!

Check out this file: ezxmltext/handlers/input/ezdhtmlxmlinput.php, I guess you have to change how the editor handles this(paragraphs ..)

It's pretty lame activity in this forum, only 4-5 ppl. who are answering some questions now and then(the moderators). Waited for answers myself without any success :(

Z

Norman Leutner

Wednesday 13 October 2004 7:27:11 am

How can eZ sell that OE for 3.1 if it isn`t stable?

In Germany we call something like that
"banana marketing" -> Product maturate at customer....

I havn`t buyed that product for scripting it myself.

Integration of my own editor would have been more easy.

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

K259

Wednesday 13 October 2004 9:25:36 am

I totally agree, we have had problems with this editor for about two years now. There are always something. Problems which always have been are the things you mention with the paragraphs, line breaks etc., and there are huge problems when our users try to copy different stuff from i.e. word. I know the aim with the editor is to make the content correct and remove wrong coded tags etc., BUT!

The ez team have upgraded our system from 3.0->3.1->3.2->3.3->3.4 and at every upgrade we had to let the ez team fix problems with the editor. There have been so many problems with the editor through the last years, and we have also used a lot of money on support for this. The editor is still not good, but we have tested it from the final start, and have strongly redused the number of bugs in this editor...but still this editor is not good.

I recommend eZ to check out other editor alternatives, and that the eZ team check out how other CMS-providers have solved these problems.

Norman Leutner

Thursday 14 October 2004 12:09:26 am

Next year I`m starting a new project with a company website in 16 languages.

I`ve been planning to use eZ but at least it doesn`t fit my expectations for our company intranet.
There are too many problems with versions and bugs.

My hint for the eZ Team:
Debugging the system should be more important than integration of new features !
No company will use and pay for systems that are not running stable and are noneconomic because of the maintenance costs.

My job here in my company is to integrate and coordinate the CMS and not delevoping a CMS.
Focus should always be on economy.

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

Frederik Holljen

Thursday 14 October 2004 7:10:38 am

We are going into the beta phase of eZ publish 3.5 soon. In this period the new OE will be online on the demo site for testing. We strongly agree with you that the focus of our products should be on stability and we therefore urge you to help us test the new version to make it as solid as possible.

Wenyue Yu

Thursday 14 October 2004 7:26:02 am

Hi,

Tested with eZ publish 3.1 with editor-1.1. It works properly. Besids, in your example,

line1

line2
line3

saved correctly as you posted:

<?xml version="1.0" encoding="UTF-8"?>
<section xmlns:image="http://ez.no/namespaces/ezpublish3/image/";
         xmlns:xhtml="http://ez.no/namespaces/ezpublish3/xhtml/";>
  <paragraph>line1</paragraph>
  <paragraph>
    <line>line2</line>
    <line>line3</line>
  </paragraph>
</section> 

Regards,
wenyue

Norman Leutner

Thursday 14 October 2004 8:01:33 am

Thanks for your sample wenyue, but it didn`t match my problem.
(maybe i explained it to bad before)

I`ve tested it once again and here`s the result:

Within the Editor:

line 1 -> enter

line 2 -> shift+enter
line 3 

Within DB:

<?xml version="1.0" encoding="UTF-8"?>
<section xmlns:image="http://ez.no/namespaces/ezpublish3/image/"
         xmlns:xhtml="http://ez.no/namespaces/ezpublish3/xhtml/">
  <paragraph>line1</paragraph>
  <paragraph>
    <line>line2</line>
    <line>line3</line>
  </paragraph>
</section>

Everything correct until now:

Template view:

line 1
line 2

line 3 

The behavior of <br> and <p> is changed within the xml output.

Because I&acute;m running the Intranet on 2 Servers with the same storage and database ans I&acute;m usig RSA authentification via Secure-ID Cards it`s not possible to migrate to a newer eZ version without any problems in migrating extensions and data.
At the end of this month all our 600 users will get access to the intranet until then the editor problem should be fixed.

Another question:
When is a stable version of 3.5 planned?
Will there be guidelines for migrating from 3.1 to 3.5 ?
What about enterpise support for migration?

Thanks in advance

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

Norman Leutner

Thursday 14 October 2004 8:06:51 am

In adition the XML outputhandler: ezxhtmlxmloutput.php

<?php
//
// Definition of eZXHTMLXMLOutput class
//
// Created on: <28-Jan-2003 15:05:00 bf>
//
// Contact licence@ez.no if any conditions of this licencing isn't clear to
// you.
//

..... Deleted for better thread reading ;)
 

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

Wenyue Yu

Saturday 16 October 2004 2:57:20 am

Hi,

Since your data saved correctly, the problem is nothing to do with OE. I guess there is something wrong with your ezxhtmlxmloutput.php in stanard eZ publish. Are you using latesed 3.1 release? Try to update to latest 3.1 realease if not.

About version 3.5, here is the plan:
Beta 1: 20. October (feature and string freeze).
Release Candidate 1: 5 November.
3.5 Final: Between one and two weeks after the release candidate.

>Will there be guidelines for migrating from 3.1 to 3.5 ?
You will find doc. about update from 3.4 to 3.5. Migration from previous version can be found partially in previous realease note. But updating from 3.1 to 3.5 will not be a easy task. ( you have update from 3.1->3.2->3.3->3.4->3.5 ).

>What about enterpise support for migration?
You can order our support on http://ez.no/services/support, then we can help you with that.

Regards,
wenyue

Norman Leutner

Sunday 17 October 2004 11:21:36 pm

Thanks Wenyue,

I`ll exchange the ezxhtmlxmloutput.php with the leastest release and infor you if that fixed my problem.

About changing version to 3.5:
Would you recommend to upgrade or to beginn with a blank version?
If I order the 3.5 version with additional 2 year support, will migration from 3.1 to 3.5 be supported (RSA-Login, two Servers with one DB / storage)?

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

Wenyue Yu

Monday 18 October 2004 12:56:35 am

>Would you recommend to upgrade or to beginn with a blank version?
It depends on how much content in your order version. If not much, I will suggest use a blank version. Version 3.1 is a bit order and updating will take at least day's work.

> If I order the 3.5 version with additional 2 year support, will migration from
>3.1 to 3.5 be supported (RSA-Login, two Servers with one DB / storage)?
The support contract doesn't cover anything. But after purchasing our support, you can use those pre-paid hours let us do any eZ publish related things. Read more in http://ez.no/services/support.

Regards,
wenyue