Jump to:

1844 Posts in 1600 Topics by 559 members

Blog Module

SilverStripe Forums » Blog Module » Blog comments - Name = login data

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 635 Views
  • Mackodlak
    Avatar
    Community Member
    95 Posts

    Blog comments - Name = login data Link to this post

    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

  • Mackodlak
    Avatar
    Community Member
    95 Posts

    Re: Blog comments - Name = login data Link to this post

    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!

    635 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.