Hi
I have a page, that is item based
On this page, i have severeal paragraphs that also are items based.
Normally, paragraphs are sort of children to pages. But in my case - I want the items attached to the paragraphs to actually "belong" to the item attached to the page
Now the question is - What is the relation between pages, paragraphs and items?
Using indexing - lets say that i want to show the item attached to the page, but i also want to a list of the items attached to the paragraphs.
Example: The item attached to the page has a field that has the value "Sendistovan"
the items attached to the paragraphs have a field that has a value of year as a normal string. so the list of paragraphitems would be (2020, 2019, 2018, 2017 etc. etc.) Where each "year" is a seperate item.
So the questions are:
1. if and how can I show the pageitem and the paragraphitems using indexing?
2. Is there any relation directly between the items on the paragraphs and the item on the page, or do i have to go sort of like this?
Item <--> page <--> paragraph <--> item (I know it´s a poor diagram, but hopefully you know that i mean)
So that if i fetch the pageitem, form there I can grab the page id, and from the pageid - I can get the belonging paragraphs - and from there, i can render the items on the paragraphs?
Hope this all makes sense
/Hans