eZHTMLArea

Author Message

Daniel Cruz

Friday 16 July 2004 7:08:21 am

Hey all,

I installed the eZHMTLArea 1.0 into my system this afternoon and I've got some problems. Install went fine, but whenever I try to save the article eZPublish tells me spits out the html coding saying it's unsupported. Any idea what's up? Is there a better content editor that anyone out there would reccomend me using? I also installed FCKeditor but again, when I cut and pasted the stuff over to eZPublish it said the coding was unsupported. How do you guys edit your content?
Well, thanks for reading. Any opinions would be greatly appreciated.

Cheers,

Daniel C.

Daniel Cruz

Friday 16 July 2004 7:24:01 am

Hey all,

Me again. I forgot to mention that I'd also checked out eZ's Online Editor and noticed that you couldn't do a "tab" function when adding text with the product. Is this someting that eZPublish just isn't capable of doing?

Cheers,

Daniel Cruz

Frederik Holljen

Friday 16 July 2004 8:00:07 am

Not being able to do a tab in OE is a "feature" since you are not supposed to do layout this way using HTML. Similarly you cannot insert lots of linebreaks in the rendered text by pressing enter lots of time in OE. There has been some controversy concerning this, so it might change in the future.

Alex Jones

Friday 16 July 2004 9:20:46 am

Daniel, have you set this up on a plain text field or an XML text field? As far as I am aware, eZHTMLArea will only work on a plain text field. The errors you are running into sound like they would result from eZ publish trying to parse the results of eZHTMLArea and compare it to its XML rules.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Daniel Cruz

Saturday 17 July 2004 7:39:02 am

Hey all,

So is it possible to change the text field setting for eZPublish to plain text field? I played around with it this afternoon and couldn't find the settings.
On a related note, what do organizations using eZPublish do to allow there front-end users to format text? I can't imagine that most front-end users would know how to code their content to get the look that they want.
Thanks much.

Cheers,

Daniel Cruz

Alex Jones

Tuesday 20 July 2004 8:45:26 am

You can't change one type of field to another. You would need to add a plain text field to the class and remove the XML text field. Note, once you remove the XML text field, you will lose all information stored in that field for the class, so it is important that you add the plain text field first and transfer all of your text to the new field before removing the old field.

I know a lot of people use the Online Editor to help with formatting and the like. I don't have any experience with it myself though.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Mieczyslaw Morzonek

Wednesday 21 July 2004 11:44:43 am

Hi

I ve add eZHTMLArea to eztext.tpl. It`s works fine but there is a one problem. When i click publish data are saved but the output is with html tags. For example: data are saved aa

<strong><em>text</em></strong>

and the output is the same. Why? Why the browser don`t parse this simple html code? All

 <> 

are code to

 &lt; 

Alex Jones

Wednesday 21 July 2004 1:21:45 pm

Check your override templates to make sure that the code used to display the text is not using a wash operator. It will look like <i>|wash</i>. That could be causing the problem.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

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 18 2025 22:39:30
Script start
Timing: Jan 18 2025 22:39:30
Module start 'layout'
Timing: Jan 18 2025 22:39:30
Module start 'content'
Timing: Jan 18 2025 22:39:30
Module end 'content'
Timing: Jan 18 2025 22:39:30
Script end

Main resources:

Total runtime0.0286 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.0069 587.7891152.6094
Module start 'layout' 0.00700.0118 740.398439.3984
Module start 'content' 0.01870.0072 779.796997.4141
Module end 'content' 0.02600.0026 877.210938.3047
Script end 0.0286  915.5156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.007827.3963140.0006
Check MTime0.00289.6218140.0002
Mysql Total
Database connection0.00103.457010.0010
Mysqli_queries0.005720.061930.0019
Looping result0.00000.041610.0000
Template Total0.00186.110.0018
Template load0.00103.505310.0010
Template processing0.00072.594610.0007
Override
Cache load0.00072.503110.0007
General
dbfile0.00020.729280.0000
String conversion0.00000.036640.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