Jump to:

23479 Posts in 18951 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Page Comments .ss file location

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: 1101 Views
  • theoldlr
    Avatar
    Community Member
    103 Posts

    Page Comments .ss file location Link to this post

    Where is the the PageComments .ss file stored? I want to add a class to the PageComments_holder div and cannot find it anywhere. Thanks!

  • Invader_Zim
    Avatar
    Community Member
    141 Posts

    Re: Page Comments .ss file location Link to this post

    Hi.

    You will find the PageComments_holder Div here: <yoursite>/cms/templates/PageCommentInterface.ss

    Cheers,
    Christian

  • Willr
    Avatar
    Forum Moderator
    5502 Posts

    Re: Page Comments .ss file location Link to this post

    But note you shouldn't edit the file in this location. You should copy the files you want to edit (in this case cms/templates/PageCommentInterface.ss) to themes/yourtheme/templates/ and edit the copied file. This will mean if you upgrade SS you won't lose your changes and it keeps all your templates together.

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