I want to have a “related pages” feature on some pages on my site. I figured out how to get the blueprint working so I can select pages, however they just store the page (end folder) name, not the full path. How can I store the full path so that in the template I can link to those exact pages?
This is the related pages section of the blueprint I have:
It doesn’t look like the query features of “value” or “text” or anything work in combination with options: pages. And options: query asks for another page to query from, but I don’t want to query from a single page, I want to query the whole site for the list of all pages, or actually, better yet I want to get the list of all pages and subpages within a certain section of the site.
But thanks for the template code. That will come in handy.
This is undocumented, but it appears to work just fine…
If you want to get, say, related pages in a specific page tree beneath a top-level page, you can use that page’s slug as the page value within the query options.