- Posts: 2
COMMUNITY FORUM
Help Removing ItemListCategoriesBlock..
- Chris Johnson
-
Topic Author
- Offline
- New Member
Less
More
14 years 6 days ago #96223
by Chris Johnson
Help Removing ItemListCategoriesBlock.. was created by Chris Johnson
Hello,
I've searched the forums for a few days and found no answer. I'm trying to disable the "Item List Categories Block" located above my front page items. I found the div tag "<div class="ItemListCategoriesBlock"> But i'm not sure where to erase it or if that is even the easiest way to remove it.
The object of this is to obviously remove this block, but to also have only one category showing on the front page, as I don't want all new items to display there.
I've included a screenshot that shows what I'm talking about.
Thanks for any help you can give me.
Chris
I've searched the forums for a few days and found no answer. I'm trying to disable the "Item List Categories Block" located above my front page items. I found the div tag "<div class="ItemListCategoriesBlock"> But i'm not sure where to erase it or if that is even the easiest way to remove it.
The object of this is to obviously remove this block, but to also have only one category showing on the front page, as I don't want all new items to display there.
I've included a screenshot that shows what I'm talking about.
Thanks for any help you can give me.
Chris
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 6 days ago #96224
by william white
Replied by william white on topic Help Removing ItemListCategoriesBlock..
Look in category.php for this code
you will find it in YourSiteRoot/components/com_k2/templates/default folder or
if you are using an override you will find it in
YourSiteRoot/templates/YourTemplate/html/com_k2/templates/YourK2OverrideName folder
If you havent you should check intooverrides
you will find it in YourSiteRoot/components/com_k2/templates/default folder or
if you are using an override you will find it in
YourSiteRoot/templates/YourTemplate/html/com_k2/templates/YourK2OverrideName folder
If you havent you should check intooverrides
Please Log in or Create an account to join the conversation.
- Chris Johnson
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 2
14 years 6 days ago #96225
by Chris Johnson
Replied by Chris Johnson on topic Help Removing ItemListCategoriesBlock..
Thanks for the quick reply!
I tried removing the following code with no success:
<div class="itemListCategoriesBlock"> <?php if(isset($this->category) && ( $this->params->get('catImage') || $this->params->get('catTitle') || $this->params->get('catDescription') || $this->category->event->K2CategoryDisplay )): ?>
I'm no code monkey but I thought this would be it.
I attached my original PHP file if that helps.
P.S. It might take some time before I feel comfortable with overrides on my live site.
Any suggestions?
I tried removing the following code with no success:
<div class="itemListCategoriesBlock"> <?php if(isset($this->category) && ( $this->params->get('catImage') || $this->params->get('catTitle') || $this->params->get('catDescription') || $this->category->event->K2CategoryDisplay )): ?>
I'm no code monkey but I thought this would be it.
I attached my original PHP file if that helps.
P.S. It might take some time before I feel comfortable with overrides on my live site.
Any suggestions?
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 6 days ago #96226
by william white
Replied by william white on topic Help Removing ItemListCategoriesBlock..
see friend request and pm me
Please Log in or Create an account to join the conversation.