I have a page ‘shop.php’ which lists the titles of books for sale.
I have a section in the homepage where I want to feature two of these books.
I want to create a select field in home.yml which is populated by the titles of the books in the shop. I have used the following query…
query:
fetch: site.find("shop").children.title
I find that the select field shows the url’s of the books rather than the titles. Can anyone advise me where I am going wrong please?