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.

General Questions /

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

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

Pagecomments positions


Reply


2 Posts   743 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, 1132 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.