[SOLVED] k2 Category Description HTML Strip

Support desk for Villa Belluci Joomla Hotel Template
GK User
Wed Dec 23, 2015 4:05 am
How do I disable to auto formating on K2 description category?

The hotel template automatically bolds, centers and strips all html code in the category description on K2 Categories menu view.

I have JCE and the filtering is all turned off. I've also made sure the K2 parameter under content fulltext cleanup is set to "No"

Thank you for your assistance in advance.
User avatar
Junior Boarder

GK User
Wed Dec 23, 2015 4:10 am
nevermind I figured it out lol

I edit this code
<p class="item-desc"><?php echo strip_tags($this->category->description, '<br>'); ?></p>

to

<?php echo $this->category->description; ?>
User avatar
Junior Boarder

GK User
Sun Dec 27, 2015 12:13 pm
Hi, where did you change this code?
User avatar
Junior Boarder

GK User
Tue Sep 13, 2016 3:37 am
I found out the file is:
gk_hotel/html/com_k2/templates/default/category.php

Thanks for the tip.
User avatar
Fresh Boarder


cron