Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Using j_category (categories) 20 Aug 2013 12:48 #10866

I would actually like to use the J_category in some of my tables.

For example:
I have a table defining courses and I would like to categorise them into different categories, sub-categories and probably sub-sub-categories. Using J_category would make this rather easy, but I can't find a Cooking-solution for this.

I've been searching all over and I still can't find anything about it around here. Is there a way to make it easily happen or do I have to write some detour for this "problem"?

Please Log in or Create an account to join the conversation.

Last edit: by Lichtbringer.

Using j_category (categories) 23 Aug 2013 15:16 #10900

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Sincerly I am not really found of this solution. In future I will handle it in cook, but really I think stupid the way mixing in the same table (categories) items coming from different components.

You want to nested system. I understand.
This is also a functionality on the roadmap. I don't know when.

To answer your question about joomla categories :
Have a look in your component and search for the third tables models :
- thirdusers
- thirdusergroups

They are model to control another table out of your component.
Copy one of them and use the same idea for jcategories.

Hope it helps.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.163 seconds

The j-cook project is one of the best of its kind and it is nice that we all try to contribute in little ways to make life easy for each other.

vlemos (Forum)  

Get Started