Advertisement

Display Sub Category contacts on main page

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.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
User avatar
ltempest
Joomla! Guru
Joomla! Guru
Posts: 607
Joined: Thu Aug 25, 2005 11:16 am
Location: Gloucester, UK
Contact:

Display Sub Category contacts on main page

Post by ltempest » Tue Sep 15, 2020 9:57 am

Hello,
I have a Contacts » List Contacts in a Category Menu Item and the Sub Categories set to display. I have no Contacts in the parent category so my page looks like:

CONTACTS

Subcategories
subcategoryone [1]
subcategorytwo [2]


How do I display the actual contacts of each of these sub categories on the main parent page?

I have looked in the category/default.php tmpl file but it seems to be referencing the content layout?

echo JLayoutHelper::render('joomla.content.category_default', $this);

I can only seem to find the code that actually display the contact information and not the tmpl which controls what is displayed on what page?

Which template file do I need to over ride?

Thanks

Lee

Advertisement
Advertisement
Locked

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