Is it sort of a twig template? Similar to: page.collection({items: {'@taxonomy.top': '1', '@page.children': '/parent-page'}}) - but this does not work the way I need it
@fosil I'm afraid I do not really get the gist of the question. Would you mind editing your post/title and elaborate a bit more on:
- what you are trying to achieve
- what you expected to see
- what you have tried
- what the actual result was
last edited 09/18/18 by pamtbaau
- I have page with route /products
- it contains a tree of child pages
- these pages have the taxonomy "TAG" with values: 'top', 'new', 'discount', ...
- In page /products, I need to get a collection of pages that are part of a tree and at the same time they have TAG = 'top'
pseudocode:
collection = (@page.descendants == '/products') AND (taxonomy.tag == 'top')
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 0 | 108 | 6 days ago | ||
| 3 | 437 | 2 weeks ago | ||
| 7 | 557 | 2 weeks ago | ||
| 0 | 159 | 2 weeks ago | ||
| 2 | 308 | 3 weeks ago |