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.068 seconds

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started