Glad to have been of some help :-)
I'm not quite sure if using an ID field is really the right thing, security-wise, and maybe using a session value would be a better alternative - others might have something to say to this but hey, it works!
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
Glad to have been of some help :-)
I'm not quite sure if using an ID field is really the right thing, security-wise, and maybe using a session value would be a better alternative - others might have something to say to this but hey, it works!
Well if you have better suggestion I am willing to think try it out...
BlogModule does it this way, and tbh I can't think of other way, if this is not my own idea, but reverse engineered blog module with personal touch (and your help :D)