Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

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.

Blog Module /

Discuss the Blog Module.

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

Customising the Comment Form HTML


Go to End


10 Posts   8855 Views

Avatar
mwalsh

Community Member, 21 Posts

24 March 2009 at 4:54am

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.

Avatar
mwalsh

Community Member, 21 Posts

24 March 2009 at 10:55pm

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

Avatar
mikedaul

Community Member, 6 Posts

29 March 2009 at 5:45pm

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...

Avatar
mwalsh

Community Member, 21 Posts

3 April 2009 at 4:29am

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

Avatar
marcink

Community Member, 89 Posts

19 April 2009 at 11:18pm

any news on that?

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

Avatar
Mans

Community Member, 21 Posts

30 April 2009 at 4:28am

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

/MÃ¥ns

Avatar
mwalsh

Community Member, 21 Posts

30 April 2009 at 4:40am

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

Avatar
Web Designer Perth

Community Member, 49 Posts

17 July 2009 at 2:04pm

Bump. Anyone?

Go to Top