Display Subcategories and Article Titles in blog layout

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Locked
RFB
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Nov 25, 2016 11:53 am

Display Subcategories and Article Titles in blog layout

Post by RFB » Fri Nov 25, 2016 12:18 pm

Hello, i want a page that shows the following content:

-------------------------------------
Parent Category Title

Subcategory 1 Title

  • Subcategory 1 Article Title Link 1
    Subcategory 1 Article Title Link 2
    Subcategory 1 Article Title Link 3


Subcategory 2 Title

  • Subcategory 2 Article Title Link 1
    ...

-------------------------------------

I tried to configure the Blog Category and the Show All Category menu layout but i only have been able to show the subcategory titles (without the articles) or show the articles in blog format (without the subcategories).

Could you help me, please?

Thank you,

Best regards.

FishEagle
Joomla! Intern
Joomla! Intern
Posts: 88
Joined: Wed Nov 30, 2016 5:02 pm
Location: South Africa

Re: Display Subcategories and Article Titles in blog layout

Post by FishEagle » Mon Jan 16, 2017 7:27 pm

You referring to a list? You should be able to achieve this using the back-end "Category" settings (Global Configuration > Articles):

e.g.
* Choose a Layout = "List"
* Subcategory Levels = >1

I think further settings in "Categories" and "List Layouts".
I enjoy building websites on an ad-hoc charitable basis.

rudiments
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Jan 08, 2017 7:16 pm

Re: Display Subcategories and Article Titles in blog layout

Post by rudiments » Mon Jan 16, 2017 10:26 pm

I recently had this exact problem and solved it with a template override for the Category Blog layout. I can see this post is somewhat old at this point but I'll upload the files here in case anyone else has this problem in the future.

Just unzip these files and upload them to:

/templates/[your template name]/html/com_content/category

Then when you assign your menu, instead of "Category Blog" use "New Layout"; it's the exact same thing as Category Blog but now articles are listed below the sub category headings.
You do not have the required permissions to view the files attached to this post.

unicesi
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri May 13, 2016 3:56 pm

Re: Display Subcategories and Article Titles in blog layout

Post by unicesi » Tue Mar 14, 2017 4:14 pm

rudiments wrote:I recently had this exact problem and solved it with a template override for the Category Blog layout. I can see this post is somewhat old at this point but I'll upload the files here in case anyone else has this problem in the future.

Just unzip these files and upload them to:

/templates/[your template name]/html/com_content/category

Then when you assign your menu, instead of "Category Blog" use "New Layout"; it's the exact same thing as Category Blog but now articles are listed below the sub category headings.
Hey Rudiments!
Thanks for this solution, it help a lot.
Quick question, what can I do if I also wanna bring the article titles?
By deafult, it have the option to show how many articles are in the category but I also wanna show the article titles... Hope I made myself clear.

Thanks.


Locked

Return to “General Questions/New to Joomla! 3.x”