6
votes
Accepted
How to get Categories of custom extension or third party component
After doing some research, it turns out that the third party component I am using doesn't have a file created as ..\components\com_thirdparty\helpers\category.php which is required to implement a ...
4
votes
Unable to hide subcategories in category blog layout
As @Sasi varna kumar showed with the screenshot in his answer, what you need to adjust is what articles should be shown in your blog layout.
The settings you were adjusting are about showing ...
4
votes
Accepted
Is there a way to display category items in categories listing
I finally solved it myself. I modified my com_contact category default_children template to load another template part (called it catitems):
<?php if ($child->numitems > 0 ) :
$this->...
3
votes
Accepted
How to query the categories table and get a resultset with my stored order?
In #__categories table ordering field is named as lft. So, this column saves the ordering of the categories.
If you want to look more into code side then you can see:
administrator/components/...
3
votes
Accepted
Unable to hide subcategories in category blog layout
Menu - Category Blog - Blog layout options
Did you check this setting too ? in the menu options ?
2
votes
Best way to show a list of categories that shows also all subcategories?
In Joomla 3.x, you could use the Joomla's native Categories module.
Your example shows 3 categories, so I would load three modules from within the article, and configure these modules to display the ...
2
votes
Accepted
Remove Subcategories title and links from bottom of Category blog
Welcome to Stack Exchange.
This is controlled in the menu item. You need to:
Go into your administration section of Joomla!
Click on Menus
Go to the menu that you are using e.g. "main menu"
...
1
vote
How to hide subcategory titles in category blog and only display the subcategory descriptions
You'll want to override the category blog layout template.
Copy all the code from:
/components/com_content/views/category/tmpl/blog_children.php
and paste into a new file you'll create at:
/...
1
vote
Accepted
How can I create a list of subcategories in a category showing 1 article for each subcategory?
I can see a couple of options depending on your situation.
Option 1.
If you sub-categories are not going to change then you could set up a 'Articles - Category' module for each sub-category. This ...
1
vote
Need to display category dropdown for custom component on frontend site using joomla category extension
If I understand well, you want to display the category select in the edit form or in a list view as a filter ?
If so, I guess you use a form for that. Just like the docs say about adding category to ...
1
vote
Need to display category dropdown for custom component on frontend site using joomla category extension
Here is query that gets data from category table and display using following code:
there find com_thirdparty and replace with com_your-component-name
$db = JFactory::getDBO();
$query = "SELECT c.id, ...
1
vote
Show articles of the Category in Subcategories
Create Menu Item:
Menu item Type:: Articles >> List All Category >>
In Tab "Category" look for "Subcategories Levels"; Choos "ALL";
I hope this helps.
1
vote
Best way to show a list of categories that shows also all subcategories?
see link:
https://stackoverflow.com/questions/17988998/joomla-get-subcategories-of-custom-parent-category
$catID = JRequest::getVar('id');
$categories = JCategories::getInstance('Content');
$cat = $...
1
vote
Best way to show a list of categories that shows also all subcategories?
There are few solutions:
If you want to get categories tree only
Use Template Overrides to create alternative layout for categories view. In this view use use JCategories to get categories tree. Here ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
subcategories × 24joomla-3.x × 14
category × 10
overrides × 5
articles × 3
category-blog × 3
com-content × 2
development × 1
templates × 1
extensions × 1
administrator × 1
joomla-3.3.x × 1
menu × 1
jquery × 1
url × 1
template-override × 1
joomla-3.6 × 1
tags × 1
jdatabase × 1
joomla-3.5 × 1
sql × 1
front-end × 1
layout × 1
module-params × 1
configuration × 1