Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

.repeated section items does not exist?


Jakkabobo
Go to solution Solved by Jakkabobo,

Question

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 post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

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 post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...