Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about Hot Newsflash free Joomla module.

Topic-icon Forcing line break

More
5 years 8 months ago #9631 by JMGilday
Hi Ivan,
Our articles have a need to force a line break / return.

When we type:

Line one
Line two
Line three
Line four
Line five
Line six

It comes out:

Line one Line two Line three Line four Line
five Line six

Seems like a little html would solve it, but it's a module vs an article so I can't insert any code.

Ideas?

Kathy

Please Log in to join the conversation.

More
5 years 8 months ago #9648 by ivan.milic
Hi,

try

line one<br/>
line two<br/>
line tree<br/>
...

Please Log in to join the conversation.

More
5 years 8 months ago - 5 years 8 months ago #9663 by JMGilday
Tried that at first, but Joomla removes any HTML coding (br/, p/, i/, b/, li/ etc)




I could probably insert it in ANOTHER file if I knew Where this text is stored.
Attachments:
Last Edit: 5 years 8 months ago by JMGilday.

Please Log in to join the conversation.

More
5 years 8 months ago #9677 by ivan.milic
Hi,
Newsflash is not our component , it's joomla's component.

You can try to remove trim command from:

modules\mod_newsflash\tmpl\helper.php

and to comment this line in mod_newsflash.php:

$layout = JFilterInput::clean($layout, 'word');

It seams to me that first one removes \n - new line , and second strips tags.

Please Log in to join the conversation.

Time to create page: 0.113 seconds

Links, Partners and Social Media