1770 Posts in 495 Topics by 531 members
Blog Module
SilverStripe Forums » Blog Module » Using by BlogSideBar on non-blog pages
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 609 Views |
-
Using by BlogSideBar on non-blog pages

10 March 2011 at 3:05pm Last edited: 10 March 2011 3:06pm
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
string in my page.ss page in my template directory with the<% include SideBar %>
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.<% include BlogSideBar %>
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
Cheers
-
Re: Using by BlogSideBar on non-blog pages

15 March 2011 at 5:11am
Try this:
http://doc.silverstripe.org/sapphire/en/topics/widgetsChris.b
| 609 Views | ||
|
Page:
1
|
Go to Top |


