Hi - having a little diffciulty getting my head around the page URL template code.
I have a page set up that is not published - it is a draft page that can be accessed by a “secret link”.
The page lists a bunch of items that have a detail page.
I want to put a link on each detail page that takes me back to the master draft page.
I think I am supposed to “find” the draft page in some way and then output its URL including the token, but I am not getting anywhere.
Forgive if this is really basic stuff, but not for me!
Unfortunately not - that wants to take me back to the overall master list.
My set up is: A master list - then I assign certain items to a “private page” (in the panel as a catergory)
This works great.
So the private page only contains the items that have this category.
Not sure if that is the problem.
So, yes this works, as ‘hard-coded’ way - what I was hoping for was a way to insert the ‘page ID’ or its URL into the code - from the panel - so that i could modify it per private page - (I have several)
Edit: If I think about it, you are already passing the parent via the category, right? So if param(‘category’) is privateview, the parent is the privateview page? Then that would solve it.