Jump to:

23379 Posts in 18298 Topics by 2867 members

General Questions

SilverStripe Forums » General Questions » Pagecomments positions

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

Page: 1
Go to End
Author Topic: 669 Views
  • blaise4714
    Avatar
    Community Member
    10 Posts

    Pagecomments positions Link to this post

    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

  • martimiz
    Avatar
    Forum Moderator
    1068 Posts

    Re: Pagecomments positions Link to this post

    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.

    669 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.