linebreaks in the Online Editor

Author Message

Erlend Halvorsen

Tuesday 09 May 2006 1:31:14 am

Hi!

I'm wondering, what rules govern the use of linebreaks in the editor / ezxml fields? My client keeps complaining about not being able to add linebreaks, and I can't blame him, it's quite confusing. Is it impossible to, say, add some extra space between two paragraphs, or the end of a paragraph and the following heading?

-Erlend

Kristof Coomans

Tuesday 09 May 2006 2:11:59 am

In eZ publish 3.8 there has been worked on this problem.

In content.ini.append you can define if you want to allow empty paragraphs:

[paragraph]
AllowEmpty=true

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Erlend Halvorsen

Tuesday 09 May 2006 6:37:37 am

thanks for the tip, but this doesn't seem to actually do anything? I've tried clearing all caches, but empty paragraphs are still removed..

-Erlend

Kirill Subbotin

Tuesday 09 May 2006 6:40:32 am

You need to use eZ publish 3.8 and OE 4.1. It will not work with previous OE versions.

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 11:44:23
Script start
Timing: Jan 18 2025 11:44:23
Module start 'layout'
Timing: Jan 18 2025 11:44:23
Module start 'content'
Timing: Jan 18 2025 11:44:24
Module end 'content'
Timing: Jan 18 2025 11:44:24
Script end

Main resources:

Total runtime0.7390 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 587.9063152.6250
Module start 'layout' 0.00600.0033 740.531339.4453
Module start 'content' 0.00930.7282 779.9766572.0078
Module end 'content' 0.73750.0015 1,351.984412.1641
Script end 0.7390  1,364.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4329160.0002
Check MTime0.00130.1745160.0001
Mysql Total
Database connection0.00080.112210.0008
Mysqli_queries0.685992.8092620.0111
Looping result0.00070.0998600.0000
Template Total0.703395.220.3516
Template load0.00180.246020.0009
Template processing0.701594.917120.3507
Template load and register function0.00030.035310.0003
states
state_id_array0.00180.241510.0018
state_identifier_array0.00180.247820.0009
Override
Cache load0.00150.2084160.0001
Sytem overhead
Fetch class attribute can translate value0.00090.115530.0003
Fetch class attribute name0.00170.223750.0003
XML
Image XML parsing0.00090.120830.0003
class_abstraction
Instantiating content class attribute0.00000.001750.0000
General
dbfile0.00100.1319160.0001
String conversion0.00000.000940.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs