paragraph tag stripped in categoryblog view

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Feb 17, 2017 12:42 pm
Reply with quote
Report this post
I just installed the News 2 template and so far I could fix smaller issues with the help of the forum.

I noticed that there are no line breaks in the articles in categoryblogview; in the full article there are no such problems.
How could i prevent the <p> tags not to be removed from article on categoryblog pages?

Any help would be very much appreciated.

Kind regards

Jan
User avatar
Fresh Boarder

teitbite
Mon Feb 20, 2017 10:37 am
Reply with quote
Report this post
Hi

Do You mean joomla articles or k2 items ? Please tell me the url to the page You have this problem with.
User avatar
Moderator

GK User
Mon Feb 20, 2017 1:47 pm
Reply with quote
Report this post
Thanks a lot
i have sent site url and log in by P.M.
User avatar
Fresh Boarder

teitbite
Thu Feb 23, 2017 1:06 pm
Reply with quote
Report this post
Hi

I'm afraid access is not working. I'm getting
Code: Select all
U heeft geen toegang tot het privégedeelte van deze website.

message.
User avatar
Moderator

GK User
Fri Feb 24, 2017 6:14 am
Reply with quote
Report this post
Sorry, should work now.
User avatar
Fresh Boarder

teitbite
Mon Feb 27, 2017 7:56 pm
Reply with quote
Report this post
Hi

I'm not 100% sure, but here is where I would start. Edit file /html/com_content/category/blog_item.php and in line 53:

Code: Select all
         <?php echo $this->item->introtext; ?>


would try to change it to:

Code: Select all
         <?php echo $this->item->fulltext; ?>


or

Code: Select all
         <?php echo $this->item->text; ?>


I can see joomla uses both, so I'm not sure what each one of them is showing.
User avatar
Moderator


cron