Yes, that does seem to be the simplest way to achieve this.
When you say create a Section tag do you mean to do this in the same way the tutorial does with adding an author to the articlepage?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
- Previous 10 entries
- 1
- Page 22(current)
Yep exactly, using the $db and getCMSFields to add a field to the page in the CMS which you can then populate with the pages uppermost parents URLSegment
That's brilliant. Thank you so much for all your help.
You are most welcome :)
Hi headless_pnub, I'm looking to implement something similar. Any chance you could share your final code on the forum? Cheers
Im trying to do exactly the same.
Would be v kind if you could share your code with us?
- Previous 10 entries
- 1
- Page 22(current)