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

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 07:28:38
Script start
Timing: Jan 19 2025 07:28:38
Module start 'layout'
Timing: Jan 19 2025 07:28:38
Module start 'content'
Timing: Jan 19 2025 07:28:39
Module end 'content'
Timing: Jan 19 2025 07:28:39
Script end

Main resources:

Total runtime1.3735 sec
Peak memory usage4,096.0000 KB
Database Queries91

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 589.1563152.6250
Module start 'layout' 0.00760.0038 741.781339.4453
Module start 'content' 0.01151.3608 781.2266769.2266
Module end 'content' 1.37230.0012 1,550.453132.1641
Script end 1.3735  1,582.6172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.2940160.0003
Check MTime0.00180.1311160.0001
Mysql Total
Database connection0.00100.076210.0010
Mysqli_queries1.272292.6209910.0140
Looping result0.00080.0614890.0000
Template Total1.331496.920.6657
Template load0.00210.155820.0011
Template processing1.329396.779320.6646
Template load and register function0.00010.007510.0001
states
state_id_array0.00110.081310.0011
state_identifier_array0.00260.186120.0013
Override
Cache load0.00210.15091130.0000
Sytem overhead
Fetch class attribute can translate value0.00060.045040.0002
Fetch class attribute name0.00120.0885150.0001
XML
Image XML parsing0.00110.076840.0003
class_abstraction
Instantiating content class attribute0.00000.0026210.0000
General
dbfile0.00090.0661230.0000
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
8content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
13content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
35content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
18content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
9content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 85
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs