0

I had thought about trying to use a join, but not sure how to connect a select field to populate with all the latest blog postings.

Brad Wood
  • 93
  • 5

1 Answers1

0

Instead of using a select field to access blog posts from a schema, I would recommend using a join field pointed at your blog piece type.

Getting started with joins can be found in the documentation here http://apostrophecms.org/docs/tutorials/getting-started/schema-guide.html#code-join-by-one-code

You can join to a single piece or an array of pieces by usingjoinByOne and joinByArray, respectively.

Stuart Romanek
  • 2,157
  • 1
  • 7
  • 9