Line Breaks within admin text field

Author Message

Douglas Johnson

Friday 06 August 2004 8:06:00 am

How do I create simple line breaks within a text field in admin?

Paul Borgermans

Sunday 08 August 2004 7:03:52 am

I guess what you mean is how to display line breaks:

http://ez.no/ez_publish/documentation/reference/template_operators/strings/nl2br

should help you: it is all about the rendering. You may want to override the template for the text field data type view (that's what I do)

hth

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

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 31 2025 03:44:58
Script start
Timing: Jan 31 2025 03:44:58
Module start 'layout'
Timing: Jan 31 2025 03:44:58
Module start 'content'
Timing: Jan 31 2025 03:44:59
Module end 'content'
Timing: Jan 31 2025 03:44:59
Script end

Main resources:

Total runtime1.0574 sec
Peak memory usage8,192.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 588.2500151.2266
Module start 'layout' 0.00490.0035 739.4766220.7031
Module start 'content' 0.00851.0480 960.17974,427.9063
Module end 'content' 1.05650.0009 5,388.08597.8438
Script end 1.0573  5,395.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3150160.0002
Check MTime0.00130.1217160.0001
Mysql Total
Database connection0.00060.058010.0006
Mysqli_queries0.981692.8370540.0182
Looping result0.00050.0517520.0000
Template Total1.012895.820.5064
Template load0.00170.163420.0009
Template processing1.011095.619620.5055
Template load and register function0.00200.191210.0020
states
state_id_array0.00090.085010.0009
state_identifier_array0.00150.140420.0007
Override
Cache load0.00140.1334110.0001
Sytem overhead
Fetch class attribute can translate value0.00190.178320.0009
Fetch class attribute name0.00180.173630.0006
XML
Image XML parsing0.00070.065020.0003
class_abstraction
Instantiating content class attribute0.00000.000830.0000
General
dbfile0.00230.2201170.0001
String conversion0.00000.002940.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs