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

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started