Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

building a site....problem

Go to End

3 Posts   1123 Views


Community Member, 10 Posts

16 May 2009 at 8:13am

I'm trying to build this site
I have installed the blog module, but it doesnt look any good as the blog page is to big for the site....the middle content section does not change its size so it is all over the shop.

To get around this I thought i could hide the blog page and just use the CMS to add stuff and have the new blog entries display on the left hand side in the box titled "Blog Spot"

Problem is, I have no idea how to do this.

I tried using an iframe to diaply the blog page, but that just displays the whole webage.......

Can any body help please?

If there is a way to do this withouth using the blog extension then this is cool to....

Thanks for any help, and I can try and provide any more information needed.



Forum Moderator, 5523 Posts

16 May 2009 at 10:48am

have the new blog entries display on the left hand side in the box titled "Blog Spot"

Have alook how the BlogHolder template works in the blog. You can try something like this in your box template

<!-- Assuming your blog has the URL 'blog' -->
<% control Page(blog) %>

<!-- Get 3 Entries -->
<% control BlogEntries(3) %>
<% end_control %>

<% end_control %>


Community Member, 10 Posts

19 May 2009 at 3:12am

Hi Willr,
I tried your suggestion but it doesnt work.
I am not sure why.
I have re-installed the blog module several times but with no luck.

My blog URL is (i am testing on my home server and everything seems to be working)

I have tried adding the full url to the line <% control Page(blog) %>
but if i change the word "blog" then i get the following error

Parse error: parse error in C:\WINDOWS\Temp\silverstripe-cacheC--wamp-www-Silverstripe\ on line 229

I am adding your code to the file in the following folder

This is the file i have been editing when i want to change the name / title on the 2 boxes to te left and right of the main content box.