1. Schanulleke
  2. Free Templates / Extensions
  3. Thursday, 29 April 2021
  4.  Subscribe via email
Good day!

The introtext from articles shown in the J51_News grid are displayed as one long sentence. HTML code (line breaks, div, h3 etc) are not read. The are not being removed, just not displayed in the front-end.

Could you help me solve this issue?
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciaran
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Ciaran,

My J51 News module has again stripped the html (line breaks, H1 et cetera). Instead of having to ask you to make an override for this after updates, can you explain how to do this myself?

Jeannette
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

May I ask which version of Joomla are you using?

Ciaran
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciaran,

At the moment 3.9, in the near future J4.
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you

Create an override for your module if one does not already exist. Inside the override locate the following...

$introb = strip_tags($item->introtext);


And replace with...

$introb = $item->introtext;


Ciaran
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.