Hi,
I am opening an new topic since I did not find something related here. If it has been discussed already, I would be grateful for a link or hint.
My use case is the following. I have a poi template for pages which are placed in the page tree under a certain parent page. I also have a page reference template with a page reference referring to pages with this template. Now, when a page based on the poi template is accessed via a page reference in the front end by the user, I would like to
- detect that is was called via the specific page reference, and
- get the id of the parent page of this page reference.
In the php code of the poi template, I would like to react correspondingly, depending on if it was called directly or as page reference and depending on the actual parent of the page reference.
Is this possible? Or is there another way to get a similar result?
Thank you so much
Turamon