Hello! Is there any way to access the page the widget being rendered on from widget itself?
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.
Ok, I see: Diector::getCurentPage();
Sorry, right method is Director::currentPage();
It doesn't work anymore with SS 3.1. How can I do it now?
Director::get_current_page();