1770 Posts in 495 Topics by 531 members
Blog Module
SilverStripe Forums » Blog Module » Add Static Sidebar to Blog Templates
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 380 Views |
-
Add Static Sidebar to Blog Templates

4 October 2012 at 3:19pm
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
| 380 Views | ||
|
Page:
1
|
Go to Top |

