how to obtain the functionality of a <br> tag

Author Message

M Farhan

Friday 27 June 2003 6:35:44 am

Hello Everyone,

Is there a way of using the <br> tag in the xmltextfield???, am using ezPublish 3.0.2

Thanks in advance.

MF

laurent le cadet

Saturday 28 June 2003 7:35:12 am

Hi,

There is a br.tpl in standard/templates/content/datatype/view/ezxmltags
You have to add content.ini (copy/paste) in settings/override/ and rename it content.ini.append.php

You have to add :

[CustomTagSettings]
AvailableCustomTags[]=factbox
AvailableCustomTags[]=strike
AvailableCustomTags[]=sub
AvailableCustomTags[]=sup
AvailableCustomTags[]=br <---- here

You can customize what you want this way.

M Farhan

Sunday 29 June 2003 4:14:09 am

Thanks for the reply laurant, but i guess the problem in using the custom tag is that it place the text/contents following the custom tag on a new paragraph, this is something implicit of custom tag, so even when u try to implement the <br> tag functionality it shows the contents following it on a new paragraph instead of new line.

Wenyue Yu

Sunday 29 June 2003 6:02:53 am

hi,

eZ publish 3.1 support both inline and block custom, so it is possible with 3.1.

Regards,
Wenyue Yu

Erik Petersen

Tuesday 01 July 2003 9:14:37 pm

Wow, what an incredibly insightful reply. Thanks Wenyue you've answered all possible questions on the subject. If you know the answer why don't you tell us what it is instead of telling us you know the answer.

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 01:17:13
Script start
Timing: Jan 31 2025 01:17:13
Module start 'layout'
Timing: Jan 31 2025 01:17:13
Module start 'content'
Timing: Jan 31 2025 01:17:13
Module end 'content'
Timing: Jan 31 2025 01:17:13
Script end

Main resources:

Total runtime0.0408 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0122 588.2656151.2266
Module start 'layout' 0.01220.0062 739.4922220.7188
Module start 'content' 0.01840.0206 960.2109997.8359
Module end 'content' 0.03900.0018 1,958.046933.9922
Script end 0.0408  1,992.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00317.4723140.0002
Check MTime0.00133.0660140.0001
Mysql Total
Database connection0.00327.909010.0032
Mysqli_queries0.006816.686630.0023
Looping result0.00000.073610.0000
Template Total0.00143.410.0014
Template load0.00102.465910.0010
Template processing0.00040.879210.0004
Override
Cache load0.00071.694710.0007
General
dbfile0.00040.932980.0000
String conversion0.00000.026340.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