22848 Posts in 9653 Topics by 2803 members
|Go to End|
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.
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 %>
19 May 2009 at 3:12am
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\.cacheC..wamp.www.Silverstripe.themes.callofduty2.callofduty2.templates.Page.ss on line 229
I am adding your code to the page.ss 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.
|Go to Top|