- Posts: 8
COMMUNITY FORUM
some issues with sub categories layout/view
- maor
-
Topic Author
- Offline
- New Member
Less
More
11 years 8 months ago - 11 years 8 months ago #116497
by maor
some issues with sub categories layout/view was created by maor
hey guys im kind of a new b with k2 and i need your help as soon as possible please
im trying to present a category/sub category with a title only
no "children categories" no item counter no view item link or nothing else...
im adding some images and hoping it will help (what i marked with red i want to remove from view)
direct link:
darplast.co.il/index.php?option=com_k2&view=itemlist&layout=category&task=category&id=19&Itemid=330&lang=he
im trying to present a category/sub category with a title only
no "children categories" no item counter no view item link or nothing else...
im adding some images and hoping it will help (what i marked with red i want to remove from view)
direct link:
darplast.co.il/index.php?option=com_k2&view=itemlist&layout=category&task=category&id=19&Itemid=330&lang=he
Attachment not found
Attachment not found
Attachment not found
Please Log in or Create an account to join the conversation.
- Kannan Naidu Venugopal
-
- Offline
- Platinum Member
- Aham Brahmasmi
11 years 8 months ago #116498
by Kannan Naidu Venugopal
K2 Rocks \m/
Replied by Kannan Naidu Venugopal on topic Re: some issues with sub categories layout/view
Do a template override and edit category.php file and remove the code block for the children category title. To do the override see here - getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
Remove this line
<h3><?php echo JText::_('K2_CHILDREN_CATEGORIES'); ?></h3>
Remove this line
<h3><?php echo JText::_('K2_CHILDREN_CATEGORIES'); ?></h3>
K2 Rocks \m/
Please Log in or Create an account to join the conversation.
- maor
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 8
11 years 8 months ago #116499
by maor
Replied by maor on topic Re: some issues with sub categories layout/view
Hi tnx for your help
i removed the line in category.php but everything is still the same (header still there) - weird
what about the "view items..." text
?
i removed the line in category.php but everything is still the same (header still there) - weird
what about the "view items..." text
?
Please Log in or Create an account to join the conversation.
- Kannan Naidu Venugopal
-
- Offline
- Platinum Member
- Aham Brahmasmi
11 years 8 months ago #116500
by Kannan Naidu Venugopal
K2 Rocks \m/
Replied by Kannan Naidu Venugopal on topic Re: some issues with sub categories layout/view
Did you do a template override and selected the sub template in category settings ?
view items text is in category_item.php file
view items text is in category_item.php file
K2 Rocks \m/
Please Log in or Create an account to join the conversation.