Jump to:

1835 Posts in 1139 Topics by 554 members

Blog Module

SilverStripe Forums » Blog Module » Customising the Comment Form HTML

Discuss the Blog Module.

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

Page: 1 2
Go to End
Author Topic: 5802 Views
  • mwalsh
    Avatar
    Community Member
    21 Posts

    Customising the Comment Form HTML Link to this post

    Hi,

    I can't find the HTML for the comment form anywhere?

    I've tracked down some code to cms/code/sitefeatures/PageCommentInterface.php but it's not particularly designer friendly!

    Can anyone point me in the right direction?

    Thanks.

  • mwalsh
    Avatar
    Community Member
    21 Posts

    Re: Customising the Comment Form HTML Link to this post

    I've given up on this and just styled the existing code. It's not ideal though.

  • mikedaul
    Avatar
    Community Member
    6 Posts

    Re: Customising the Comment Form HTML Link to this post

    I'm trying to make a few small changes to the comment HTML as well.

    I believe I've tracked down the correct file to edit:

    /cms/templates/PageCommentInterface.ss

    However, my changes don't want to show up.

    I've tried flushing the DB and the page I'm testing, but no dice.

    How can I get SS to render the comments using my edited code?

    Thanks for any help...

  • mwalsh
    Avatar
    Community Member
    21 Posts

    Re: Customising the Comment Form HTML Link to this post

    I was looking to edit the actual comment entry form itself which isn't contained in that file.

  • marcink
    Avatar
    Community Member
    89 Posts

    Re: Customising the Comment Form HTML Link to this post

    any news on that?

    i would also like to edit the comments template...

  • Mans
    Avatar
    Community Member
    21 Posts

    Re: Customising the Comment Form HTML Link to this post

    I second that. Does anyone know where the comment form is stored?

    /MÃ¥ns

  • mwalsh
    Avatar
    Community Member
    21 Posts

    Re: Customising the Comment Form HTML Link to this post

    I didn't actually find a template as such but I believe the sapphire code that constructs the form is found here:

    cms/code/sitefeatures/PageCommentInterface.php

  • Web Designer Perth
    Avatar
    Community Member
    49 Posts

    Re: Customising the Comment Form HTML Link to this post

    Bump. Anyone?

    5802 Views
Page: 1 2
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.