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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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