- Posts: 157
COMMUNITY FORUM
Category Description Not showing
- Goble002
-
Topic Author
- Offline
- Premium Member
Less
More
7 years 6 months ago #164995
by Goble002
Category Description Not showing was created by Goble002
Hello,
using a a menu item to show a k2 category : 'Select a template' set to 'No'.
In K2 Categories :
- In 'Category item layout' > 'Select a template' set to 'No'. (Thus not using template override)
'Inherit parameter options from category' set to 'None'
- In 'Category view options' > 'Title' and 'Description' are set to 'Show'
The Cat Title and description are not showing, I've read all the past topics on that but no luck.
The code hereunder is there :
using a a menu item to show a k2 category : 'Select a template' set to 'No'.
In K2 Categories :
- In 'Category item layout' > 'Select a template' set to 'No'. (Thus not using template override)
'Inherit parameter options from category' set to 'None'
- In 'Category view options' > 'Title' and 'Description' are set to 'Show'
The Cat Title and description are not showing, I've read all the past topics on that but no luck.
The code hereunder is there :
<?php if($this->params->get('catDescription')): ?>
<!-- Category description -->
<p><?php echo $this->category->description; ?></p>
<?php endif; ?>
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
7 years 6 months ago #164998
by william white
Replied by william white on topic Category Description Not showing
try starting from scratch
Create a new category with title TestCat Desc - put a desc into it and leave everything else default - set it to published
Create a new item and put some content text into it. select TestCat as the category - leave everything else default
Create a new menu item called Test Category Desc - select type K2 Category - select in options TestCat as the category - leave all default
Test the menu item - you will see the cat desc
Now, change the settings first in the TestCat and observe results
Next change the settings in the menu Test Category Desc - not to show - and observe results
Use the combination that suits your needs and apply to what your having problems with
Create a new category with title TestCat Desc - put a desc into it and leave everything else default - set it to published
Create a new item and put some content text into it. select TestCat as the category - leave everything else default
Create a new menu item called Test Category Desc - select type K2 Category - select in options TestCat as the category - leave all default
Test the menu item - you will see the cat desc
Now, change the settings first in the TestCat and observe results
Next change the settings in the menu Test Category Desc - not to show - and observe results
Use the combination that suits your needs and apply to what your having problems with
Please Log in or Create an account to join the conversation.
- Goble002
-
Topic Author
- Offline
- Premium Member
Less
More
- Posts: 157
7 years 6 months ago #164999
by Goble002
Replied by Goble002 on topic Category Description Not showing
Hello and thanks for your message,
Already did that, but Cat Title , 'Folder picture' nor description will show up.
Am not sure which settings you are asking me to change in :
Thanks !
Already did that, but Cat Title , 'Folder picture' nor description will show up.
Am not sure which settings you are asking me to change in :
: Which one ?"change the settings first in the TestCat"
Not to show what ? I haven't got option in menu item to tell it to show Cat Title, description...."...and "Next change the settings in the menu Test Category Desc - not to show.."
Thanks !
Please Log in or Create an account to join the conversation.
- Goble002
-
Topic Author
- Offline
- Premium Member
Less
More
- Posts: 157
7 years 6 months ago - 7 years 6 months ago #165001
by Goble002
Replied by Goble002 on topic Category Description Not showing
Hello,
I've found out :
URL /menu-item-for-testcat/itemlist/category/78-testcat is OK
URL /menu-item-for-testcat is causing the issue.
So it has something to do with SEF I guess
Any idea ?
I've found out :
URL /menu-item-for-testcat/itemlist/category/78-testcat is OK
URL /menu-item-for-testcat is causing the issue.
So it has something to do with SEF I guess
Any idea ?
Last edit: 7 years 6 months ago by Goble002.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 6 months ago #165123
by Krikor Boghossian
Replied by Krikor Boghossian on topic Category Description Not showing
Check the menu item's settings in case they are overriding the category's.
Please Log in or Create an account to join the conversation.