- Posts: 14
- Thank you received: 0
Show sub categories in Category module?
- Jonathan
- Topic Author
- Offline
- New Member
-
Less
More
8 years 2 months ago #109047
by Jonathan
Show sub categories in Category module? was created by Jonathan
Is there a way to show the subcategories in the category module?
I actually duplicated it, renamed it, and discover installed my own version, and I've got the subs showing, but it's just dumping the list in order of ID. I'd love to figure out how to cross check them and nest the subs under the parent. If anyone knows a way to do that in PHP, I'd love to know.
thanks!
I actually duplicated it, renamed it, and discover installed my own version, and I've got the subs showing, but it's just dumping the list in order of ID. I'd love to figure out how to cross check them and nest the subs under the parent. If anyone knows a way to do that in PHP, I'd love to know.
thanks!
Please Log in or Create an account to join the conversation.
- Jonathan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 0
8 years 2 months ago #109053
by Jonathan
Replied by Jonathan on topic Show sub categories in Category module?
An update to this, I got this working. I required some changes to the core module files of the category module, so it's a completely new module, but it IS working. Tuan if you want a copy let me know, in case it's something you want to add to your current category module.
Please Log in or Create an account to join the conversation.
- Jonathan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 0
8 years 2 months ago #109054
by Jonathan
Replied by Jonathan on topic Show sub categories in Category module?
Here's the actual module. It's not made with an installer so you'd have to use discover to install it I think. Also, the number of events is a bad and the css classes are for uikit, so you'd have to mod that, but I added a switch so you can turn on and off showing the sub categories. Very handy!
Please Log in or Create an account to join the conversation.
- Jonathan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 0
8 years 2 months ago - 8 years 2 months ago #109063
by Jonathan
Replied by Jonathan on topic Show sub categories in Category module?
I just realized the module wasn't generating the correct urls for the sub categories, here's a fixed version.
Last edit: 8 years 2 months ago by Jonathan.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
8 years 2 months ago #109067
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show sub categories in Category module?
Thanks Jonathan for sharing. We will just leave it here in case someone needs it, they can just download and use it
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Patrick Bourque
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
7 years 5 months ago #118905
by Patrick Bourque
Replied by Patrick Bourque on topic Show sub categories in Category module?
Hi Jonathan,
I really want to use your module, but I don't know where to put it.
You made the folder «mod_eb_categories» but there's no such folder in the default setup.
The only one I can refer is the one in :
root/modules/mod_eb_category
thank
I really want to use your module, but I don't know where to put it.
You made the folder «mod_eb_categories» but there's no such folder in the default setup.
The only one I can refer is the one in :
root/modules/mod_eb_category
thank
Please Log in or Create an account to join the conversation.
- Patrick Bourque
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
7 years 5 months ago #118906
by Patrick Bourque
Replied by Patrick Bourque on topic Show sub categories in Category module?
Hi Jonathan,
I sorry... I did make a mistake. I didn't see that you suggest to use the Discovery tool in Joomla.
It work perfectly
THANK
I sorry... I did make a mistake. I didn't see that you suggest to use the Discovery tool in Joomla.
It work perfectly
THANK
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.