Joomlatools Support Center

Displaying documents in each category

How can I build an override of a category, displaying the subcategories AND the corresponding documents from each of them ?

As I see it, the code is fetching differenty data structures for subcategories and documents.

Thank you for your support,

Cristi

Answer

Posted 2 years ago by Arunas Mazeika Staff

Hello Jacob,

This is rather complicated to achieve with a template override. Fetching data is usually done in the view object not in the layouts.

Then there are other porblems such as pagination. I'm afraid what you are looking for cannot be done with a template override. Have you tried our tree layout already? It's build for this purpose: https://demo.joomlatools.com/joomla/en/docman/tree-table/animals

There are 5 more comments in this ticket.
Subscribe or login to join the discussion!

Interibex Consulting
11.05.17
Answered

System Information

3.0
n/a
n/a