- Posts: 1
COMMUNITY FORUM
Menu K2 Categories Option not working
- Veronica Maria Mercado
-
Topic Author
- Offline
- New Member
This is my first time posting, I've got into quite a pickle.
Our new site for our clients are still under construction and we are using the T3 framework
We (as a team) are using K2 categories and children categories to separate our content.
Example -
The Projet (Parent Cat)
----STEM (Child)
----TVET (Child)
----ChildETC
----Child ETC2
We've got items in all of them, and are setting up the website Menu to direct users to a K2 category.
We would like to only show content from the Parent category -as we try to change drop downs and save - to only display Parent category content.
The option bounces back from - No to Yes
We had another site that uses T3 and K2 category and it has the same problem (we didn't need it for the previous site)
So the functionality won't work and shows all content from child categories as well , and we'd prefer to find a work around to get this working...
My questions are
1. Doesn't this functionality for K2 work for T3 frame work?
2. Is there a way to make this work for us with T3, any suggested scripting, additional PHP adjustments needed ?
Our goal is to only display content from Parent category on a few specific pages and would prefer to keep our structures, ... unless there is a better solution.
Thanks in advance
Please Log in or Create an account to join the conversation.
- Mohamed Abdelaziz
-
- Offline
- Platinum Member
- Joomla Developer
There is a workaround, simply by setting this option in the database, as long as you can't do it on the administrator control panel.
You just need to access the database use phpMyAdmin, or any client you prefer.
1- Find the #__menu table.
2- Find and edit the row of the K2 category menu item you want to change.
3- The options are saved as JSON string the 'params' field, the option label is: "catCatalogMode"
4- In your case, you should find it like this: "catCatalogMode":"1"
So you should change it to: "catCatalogMode":"0"
Then save and test.
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
When the menu item is pointing to a single category, these options need to be setup in the category's settings.
Please Log in or Create an account to join the conversation.
- Veronica Mercado
-
- Offline
- New Member
- Posts: 2
Krikor wrote: Hello,
When the menu item is pointing to a single category, these options need to be setup in the category's settings.
Hi Krikor - I'm not sure we can set that in the category settings in k2,
We would like to not show child items, and we've set everything in the parent Category settings to display 'NO' already
Could you let me know where else we could set it up? - Thanks!
Please Log in or Create an account to join the conversation.
- Veronica Mercado
-
- Offline
- New Member
- Posts: 2
Mohamed Abdelaziz wrote: Hi Vernica,
There is a workaround, simply by setting this option in the database, as long as you can't do it on the administrator control panel.
You just need to access the database use phpMyAdmin, or any client you prefer.
1- Find the #__menu table.
2- Find and edit the row of the K2 category menu item you want to change.
3- The options are saved as JSON string the 'params' field, the option label is: "catCatalogMode"
4- In your case, you should find it like this: "catCatalogMode":"1"
So you should change it to: "catCatalogMode":"0"
Then save and test.
Hi Mohamed - We'll try this during the weekend and let you know if this works. - Thanks
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Please Log in or Create an account to join the conversation.