Guest Posted January 20, 2020 Share Posted January 20, 2020 Hey, I'm trying to make a custom collection for displaying customTypes as a way to make it easier for us to update and maintain our portfolio. I'm having issues displaying the collection of items from portfolio.list. When visiting the collection (not the individual posts) it just returns 'No project in portfolio', indicating that items arenot found in {.repeated section items}. Very thankful for any insight into what i'm missing here... The items/posts works as expected. here's a simplified code example of what I have: collections/portfolio.list {.repeated section items} <h1>{title}</h1> {.or} No projekt in portfolio {.end} collections/portfolio.item {.section item} <h1>{title}</h1> {body} {.end} collections/portfolio.conf { "title" : "Portfolio", "ordering" : "chronological", "addText" : "Add project", "acceptTypes" : [ "text" ] } Link to comment
Guest Posted January 20, 2020 Share Posted January 20, 2020 Alright, apparently you need to Save and publish for .list to show properly, just doing Save is insufficient. Don't worry, this won't publish the whole site. Also this is fairly obscure in the documentation, and unclear why multiple save options are needed. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.