how to obtain the functionality of the <br> tag

Author Message

M Farhan

Friday 27 June 2003 6:34:10 am

Hello Everyone,

Is there a way of using the <br> tag in the xmltextfield???

Thanks in advance.

MF

Tony Wood

Friday 27 June 2003 7:08:59 am

you can put two line returns in the XML field, or if that is not what you want then. Try this
http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/howtos/how_do_i_create_a_custom_tag

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

M Farhan

Saturday 28 June 2003 12:29:41 am

Thanks for the reply Tony, first of all can u plz elaborate on the line return character u are talking about, with an example becaz i have tried it doesnt work for me, i mean with quotes or without qoues, as for the custom tag, i guess that wont give the solution, becaz when u use the custom tag, it automatically places the following contents on a new paragraph whereever used, thats something implicit in custom tag.

Thanks in advance.

Tony Wood

Tuesday 01 July 2003 9:27:54 am

The return character i was talking about is just hitting enter twice.
Normally just hitting enter should give you a new line in a XML field.

What are you trying to achieve?

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

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

Main resources:

Total runtime0.8212 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 588.0469152.6406
Module start 'layout' 0.00620.0025 740.687539.4766
Module start 'content' 0.00870.8111 780.1641546.6563
Module end 'content' 0.81990.0013 1,326.820312.1250
Script end 0.8212  1,338.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3818160.0002
Check MTime0.00130.1614160.0001
Mysql Total
Database connection0.00120.141210.0012
Mysqli_queries0.771193.8997600.0129
Looping result0.00070.0804580.0000
Template Total0.788996.120.3945
Template load0.00230.279220.0011
Template processing0.786695.786320.3933
Template load and register function0.00030.032210.0003
states
state_id_array0.00120.149410.0012
state_identifier_array0.00200.249120.0010
Override
Cache load0.00180.2157190.0001
Sytem overhead
Fetch class attribute can translate value0.00070.083420.0003
Fetch class attribute name0.00160.191450.0003
XML
Image XML parsing0.00070.083320.0003
class_abstraction
Instantiating content class attribute0.00000.004860.0000
General
dbfile0.00060.0784160.0000
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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs