1770 Posts in 495 Topics by 531 members
Blog Module
SilverStripe Forums » Blog Module » Blog comments - Name = login data
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 489 Views |
-
Blog comments - Name = login data

9 June 2011 at 8:04pm Last edited: 9 June 2011 8:44pm
The next thing I have to figure out is how to change comments in Blog Module:
The thing is now they allow entering custom Name.
I wish them to be so that a person has to login and that Name field is filled with persons login data (name, surname, e-mail, whatever).
I will play with it myself, but if som1 here has done the same thing and knows an easy way to change it I would be thankful!Come to think of it I want it to be so all over the web site so basically it means overriding the built-in page comments
-
Re: Blog comments - Name = login data

9 June 2011 at 9:03pm
Found built-in function to do that. Solved!
For those that might need the same thing:
put:
PageCommentInterface::$comments_require_login = true;
in /mysite/_config.php
Sry for spamming the forum!
| 489 Views | ||
|
Page:
1
|
Go to Top |

