Forums / Setup & design / eZHTMLArea

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>

eZ debug

Timing: Jan 19 2025 01:07:32
Script start
Timing: Jan 19 2025 01:07:32
Module start 'content'
Timing: Jan 19 2025 01:07:32
Module end 'content'
Timing: Jan 19 2025 01:07:33
Script end

Main resources:

Total runtime0.8595 sec
Peak memory usage4,096.0000 KB
Database Queries213

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 590.2109180.8516
Module start 'content' 0.00650.7253 771.0625672.1172
Module end 'content' 0.73180.1276 1,443.1797340.4609
Script end 0.8594  1,783.6406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.4958210.0002
Check MTime0.00170.1938210.0001
Mysql Total
Database connection0.00070.086210.0007
Mysqli_queries0.771989.79892130.0036
Looping result0.00230.26392110.0000
Template Total0.830296.620.4151
Template load0.00230.270720.0012
Template processing0.827896.309920.4139
Template load and register function0.00020.023210.0002
states
state_id_array0.00100.116010.0010
state_identifier_array0.00120.136220.0006
Override
Cache load0.00210.2401440.0000
Sytem overhead
Fetch class attribute can translate value0.00260.305550.0005
Fetch class attribute name0.00210.2448100.0002
XML
Image XML parsing0.00150.176250.0003
class_abstraction
Instantiating content class attribute0.00000.0045120.0000
General
dbfile0.00370.4258330.0001
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 31
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs