Jump to:

3444 Posts in 1030 Topics by 871 members

Template Questions

SilverStripe Forums » Template Questions » 'Add comment' form appear after all comments??

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

Page: 1
Go to End
Author Topic: 1972 Views
  • b0bro
    Avatar
    Community Member
    38 Posts

    'Add comment' form appear after all comments?? Link to this post

    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?

  • baba-papa
    Avatar
    Community Member
    279 Posts

    Re: 'Add comment' form appear after all comments?? Link to this post

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

  • ChrisBryer
    Avatar
    Community Member
    95 Posts

    Re: 'Add comment' form appear after all comments?? Link to this post

    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

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