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.

Blog Module

Discuss the Blog Module.

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

Customising the Comment Form HTML


Go to End
Reply

10 Posts   6106 Views

Avatar
mwalsh

24 March 2009 at 4:54am Community Member, 21 Posts

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

24 March 2009 at 10:55pm Community Member, 21 Posts

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

Avatar
mikedaul

29 March 2009 at 5:45pm Community Member, 6 Posts

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

3 April 2009 at 4:29am Community Member, 21 Posts

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

Avatar
marcink

19 April 2009 at 11:18pm Community Member, 89 Posts

any news on that?

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

Avatar
Mans

30 April 2009 at 4:28am Community Member, 21 Posts

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

/MÃ¥ns

Avatar
mwalsh

30 April 2009 at 4:40am Community Member, 21 Posts

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

17 July 2009 at 2:04pm Community Member, 49 Posts

Bump. Anyone?

Go to Top