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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Pagecomments positions


Go to End


2 Posts   1237 Views

Avatar
blaise4714

Community Member, 10 Posts

6 February 2010 at 6:53am

Hello ALL
i am building a homepage with SS. In one site, i allowed comments. The posted comments are showed after the page commentform.
is it possible the change the position: Page comments before page commentform?
How to order the page comments the oldest first?
Thank you

Avatar
martimiz

Forum Moderator, 1391 Posts

7 February 2010 at 11:14pm

Hi blaise,

That's real easy: go to the /templates/Layout/Page.ss template and change its contents like so (and do a /?flush=1 on your website):

...
$PageComments
$Content
...

Mind: if you use other (layout)templates for different pagetypes, you have to check them too.