Is it possible to add a category description?

GK User
Sun Oct 09, 2016 8:04 pm
Hi,
I need to add a category description on my K2 categories, I tell it to show and all, but nothing ever pops up.. Is it possible to add one to begin with?
Thanks in advance,
G
User avatar
Fresh Boarder

teitbite
Mon Oct 10, 2016 2:29 pm
Hi

Please edit file /html/com_k2/templates/default/category.php and add this code where You wish category description to appear.

Code: Select all
         <?php if($this->params->get('catDescription')): ?>
         <!-- Category description -->
         <p><?php echo $this->category->description; ?></p>
         <?php endif; ?>
User avatar
Moderator

GK User
Fri Oct 28, 2016 12:05 am
Hello, I have followed your instructions but I still do not see the description of the category, can you help me please?
Thank you.
:unsure: :unsure: :unsure:
User avatar
Fresh Boarder

teitbite
Sat Oct 29, 2016 9:29 am
Hi

Send me an access to FTP, and url to the page where this description should be visible.
User avatar
Moderator

teitbite
Fri Nov 04, 2016 11:28 am
Hi

Ok. I've just saw Your private message that the solution was good, so I'm closing this thread than.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.