Forums / Setup & design / how to obtain the functionality of a <br> tag

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.