21294 Posts in 5734 Topics by 2602 members
General Questions
SilverStripe Forums » General Questions » Can anyone tell me how to activate commenting on a custom controller based page?
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 860 Views |
-
Can anyone tell me how to activate commenting on a custom controller based page?

3 April 2011 at 7:51am
Can anyone tell me how to activate commenting on a custom controller based page?
I have created my own gallery system that uses page types for GalleryLists, and galleries, but not per image.
I have a 'Display' method (part of my galleryController) that if added to the url is activated, simple enough.
Problem, is I want commenting on the Image Display but not the pagetype Gallery, how can I activate the option in my controller? -
Re: Can anyone tell me how to activate commenting on a custom controller based page?

3 April 2011 at 3:38pm
Commenting in 2.4 and early is pretty tied to the sitetree. For SilverStripe 3.0 we've introduced a new commenting module (rather than in core) which you can apply to whatever dataobjects you wish.
It is still in the very early stages and needs to be improved but try it out - https://github.com/silverstripe/silverstripe-comments.
You may have to manually delete the CommentAdmin class from the module for now while we work out the knicks (it is still in dev!)
-
Re: Can anyone tell me how to activate commenting on a custom controller based page?

7 April 2011 at 4:48am
Willr, thanks for getting back with an answer. I will give it a shot, but not for a while.
Gotta say I'm pretty excited about 3.0 though I am still figuring out 2.4 (scared about migration)
Will post my findings if useful.
| 860 Views | ||
|
Page:
1
|
Go to Top |


