Questions tagged [subcategories]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
648 views

Need to display category dropdown for custom component on frontend site using joomla category extension

I have tring with the same thing but using following code but it not retuns any category what need to pass not getting for the same: $model_categories = JCategories::getInstance('Thirdparty'); $root =...
0
votes
1answer
1k views

How to list a Category Blog and sub-categories with Articles still in Category Blog layout?

Using Joomla 3.8.5. Using the Menu Category Blog I've been able to list the Category title as a heading, and the Articles in blog layout style with two columns for the Articles using a Read More when ...
1
vote
0answers
28 views

Is there any way to put subcategories in a Joomla menu?

I've been trying to change the way my website works. Currently, I have a menu that displays categories, but now I want to also display subcategories in it. I know that I can display articles of that ...
1
vote
3answers
3k views

How can I select the IDs of a category and all its (n levels) subcategories?

Beside the parent category, I would like to recursively collect all of its child rows. (Pseudo code) SELECT IDs FROM #_categories WHERE parent = father As an alternative, SELECT IDs WHERE the first ...
2
votes
1answer
121 views

Remove Subcategories title and links from bottom of Category blog

I am using a category blog menu item type in order to display article intro’s for a number of subcategories. Under the blog layout settings, 'include subcategories' is therefore set to all in order ...
2
votes
1answer
427 views

How to hide subcategory titles in category blog and only display the subcategory descriptions

I have the newest Joomla version. I have created a Category Blog with a link from the homepage menu. And want to achieve something like this on the page: What I have now: Subcategory title ...
4
votes
1answer
743 views

How to query the categories table and get a resultset with my stored order?

In my Joomla project, I have one main category which contains a few subcategories. I have rearranged the ordering in the backend by drag and drop. How can I query the database to check the ordering? ...
3
votes
3answers
6k views

Best way to show a list of categories that shows also all subcategories?

I have been searching already for a while on how to show a list of categories that shows also subcategories, something like this: In this case, the list of contents only shows a subcategory level (or ...
1
vote
1answer
146 views

Joomla set Template Alternative Layout via link, is it possible?

I came across an strange behavior and I am trying to find out if I can solve this by setting the layout to be used via the link to the category. Here is what happened. I have a template override for ...
0
votes
0answers
85 views

Category Manager: How to show a list of a category AND ONLY its subcategory?

I have hundreds of categories on one Joomla site. Using the Joomla administrator category manager, I'd like to find a way to list a category AND ONLY its children subcategories. To be clear, I'd ...
5
votes
2answers
1k views

Is there a way to display category items in categories listing

I am writing a theme for our team website and am currently using the category listing from com_contact to display a list of our team members. All members are in a single category called "Teammembers". ...
1
vote
0answers
690 views

How to get main parent category id from category/subcategory

I am getting one category id in code but it can be the id of either category or subcategory. And by the following code i am able to fetch the parent category chain. $Jcategories = JCategories::...
1
vote
1answer
68 views

How can I create a list of subcategories in a category showing 1 article for each subcategory?

I want to have a page listing each sub-category in a category but with each subcategory showing n number of caracters from the most recent article in each sub-category. The layout I am after is ...
8
votes
1answer
1k views

How to get Categories of custom extension or third party component

I have a thirdparty component which stores its categories in #__categories table. -----+----------------+-----------------------+-----------------------+----- ... | extension | title ...
1
vote
1answer
101 views

Show articles of the Category in Subcategories

I am using Joomla 3 and I want to know how do to display the articles of the main category in the subcategories in a blog layout: > Category Project * Article Global > City 1 * ...
1
vote
1answer
335 views

Joomla show sub category title on category blog page

I can't believe this isn't possible by default in Joomla core?! I have a Category called Projects and a sub category called Previous Projects. What I want to do is display thumbnails/links for each ...
5
votes
3answers
2k views

How to show parent category title in featured articles on the home page?

My home page has the featured article view in 3 columns. There are parent categories like news, teledrama and programmes. I want to categorise these featured articles. News articles should be under ...
6
votes
1answer
193 views

Is it possible to display a list of category “grand children”?

We have our articles organized as shown below - the main Producers category has a subcategory for each Producer, which then has a category for each of their Programs. I've been tinkering with the ...
5
votes
1answer
9k views

List articles by Category and Sub-Category

It seems unbelievably difficult to display a list of articles, grouped by their category/subcategory with the category as a sub-heading. The Articles Category module seems to come close as I can ...
2
votes
2answers
2k views

Unable to hide subcategories in category blog layout

I have a menu item of the category blog type, which is pointing to a category which has category children. I have configured this menu item and the category manager options to hide all subcategories, ...
2
votes
1answer
944 views

Override blog layout to display articles under subcategory headings

What I'm trying to do is create a category blog layout that will display the title of a category, followed by subcategories with the articles of those subcategories (full article, not just it's title) ...
2
votes
1answer
83 views

Is this a route loop?

Our site (Joomla 2.5.8) is using the Document Seller component/module (I'm not clear on the proper use of these terms in the Joomlaverse) to categorize and sell a series of PDF documents. The ...
2
votes
2answers
907 views

How can I override content category view to display subcategories as list items

I'd like to override the category view to display subcategories as list items, my template uses bootstrap and I'd like to get a display similar to thumbnails: http://getbootstrap.com/components/#...