Jump to:

1856 Posts in 1610 Topics by 562 members

Blog Module

SilverStripe Forums » Blog Module » Add Static Sidebar to Blog Templates

Discuss the Blog Module.

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

Page: 1
Go to End
Author Topic: 603 Views
  • nat.pike
    Avatar
    Community Member
    19 Posts

    Add Static Sidebar to Blog Templates Link to this post

    Hi there,

    I've created a StaticSidebar as per the tutorial and now I would like to add it to the BlogHolder.ss and BlogEntry.ss templates. I've added the code as per the Page.ss template but nothing is showing up.

    Do I need to add the function:

    public function GetMemberStaticSidebar(){
          return DataObject::get_one("MemberStaticSidebar");
       }

    to the BlogHolder.php?

    Any help would be greatly appreciated.

    Cheers

    Natalie

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