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.

Template Questions /

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

'Add comment' form appear after all comments??


Go to End


3 Posts   2866 Views

Avatar
b0bro

Community Member, 38 Posts

10 August 2009 at 11:23pm

Simple idea, but cant find where the template file is!

All i want is for all the comments to list right after my blog entry then have the form to add a comment last thing on the page?

How damn you... Where is this defined?

Avatar
baba-papa

Community Member, 279 Posts

23 August 2009 at 8:05am

The template for comments:
cms/templates/pagecommentinterface.ss

Avatar
ChrisBryer

Community Member, 95 Posts

6 October 2009 at 5:01pm

if you are going to edit the template, you probably want to copy the template to your own templates folder and run dev/build. whatever is in your templates folder will override other modules (like CMS, Blog, etc), and running dev/build will make the template get recognized and be used.

just a handy trick that makes upgrades easier :-)

hope it helps.
-Chris