Jump to:

1851 Posts in 1606 Topics by 561 members

Blog Module

SilverStripe Forums » Blog Module » Using by BlogSideBar on non-blog pages

Discuss the Blog Module.

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

Page: 1
Go to End
Author Topic: 798 Views
  • Kakedis
    Community Member
    2 Posts

    Using by BlogSideBar on non-blog pages Link to this post

    Hi Guys,

    Noobi here and in need of help or some old fashion code advice. I installed the blog module successfully, but I will also utilize some additional pages along with blog module such as Contact Us and About Us pages. However, my blog will be the driving force behind my site and therefore I wanted to include my blog side bar (which includes my blog widgets) on these other pages like Contact Us and About Us.

    I my coding knowledge is very little, but I was succesful so far by hacking away at the code. Feeling confident I though it will be straight forward utilizing the blog side bar on all pages. All I had to do is to replace the

    <% include SideBar %>

    string in my page.ss page in my template directory with the

    <% include BlogSideBar %>

    string, right ?! However this did nothing to my other pages. Then I thought I'll add both strings below each other, but still no results.

    Can someone tell me where I need to insert the blogSideBar string or what I need to change to utilize the blog side bar string on non-blog pages?

    Thanks in advance


  • prawnstar
    Community Member
    116 Posts
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.