Jump to content

Pages: How to Make Sub-Category Records Appear in Category Listing Templates?

Recommended Posts

How do I customise a Category Listing template in Pages so that sub-category records (as well as category records) are visible, preferably in a masonry-style layout with pagination (similar to the 'Category 2 Column First Featured' template that's seemingly designed only for top-level category indexes)?

For example, I have the following Pages database/category structure:

domain.com/articles/news (three records exist)
domain.com/articles/news/games (five records exist)
domain.com/articles/news/comics (two records exist)
domain.com/articles/news/movies (three records exist)

For the /articles/ top-level category, I can simply use the built-in 'Category 2 Column First Featured' template to get the desired design I like. This template includes all posts within the entire /articles/ database, including those from sub-categories like 'features' and 'news' and all the sub-categories within those too. This is great. No complaints here.

But when I visit domain.com/articles/news, I am both unable to easily use the 'Category 2 Column First Featured' masonry template design, nor am I able to see sub-category records on the page. Underneath the subcategory table in the default view, I only see three records (the three that were created specifically within that /news/ category). What I want to do is set things so that records from /articles/news, /articles/news/games, /articles/news/comics and /articles/news/movies all appear on the /articles/news/ category listing.

How do I make that happen? I must admit I'm quite proficient in CSS/template design, but the technical/coding side of Invision is a little beyond me 😄 I feel like this would require some level of unique php coding to call sub-cat records or something, but maybe there's a solution already out there that I'm not aware of?

Appreciate any help!

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...

Categories work like folders. You need to open one after another to see what is inside. It’s not just a matter of templates, it’s what data the IPS code offers for listing views. So, no, there is no solution. If you really need it, it would be a paid job for a developer. 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...