Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
General Questions
SilverStripe Forums » General Questions » The Blog - adding to new custom theme .. help!
General questions about getting started with SilverStripe that don't fit in any of the categories above.
|
Page:
1
|
Go to End | |
| Author | Topic: The Blog - adding to new custom theme .. help! | 113 Views |
-
The Blog - adding to new custom theme .. help!

4 July 2009 at 12:42am Last edited: 4 July 2009 12:50am
Hi Guys,
I am a bit at sea. I want to add a blog to my site:
www.netactivesolutions.net/stripe
I have followed Aram Balakjian tutorial at - http://www.ssbits.com/building-a-theme-from-a-static-template/
To set up just the side menu I used some code from the NATUREWEB4 Theme - http://www.silverstripe.org/natureweb4/
I think I have the basic site set up OK. I downloaded the BLOG extention, unzipped, uploaded same. Then I "dev/build?flush=1" my url above.
Now go here - http://www.netactivesolutions.net/stripe/blog/
Note a warning error. I looked this up here at the forum and found that if I changed the SSVIEWER.PHP round line 277 from:
return file_get_contents(SSViewer::getTemplateFile($identifier));
TO
return (SSViewer::getTemplateFile($identifier)) ? file_get_contents(SSViewer::getTemplateFile($identifier)) : '';
It gets rid of this error. THIS IS true, but then I am left with a BLANK CONTENT Area for the blog.
Could somebody PLEASE tell me the undocumented proceedure for adding a blog. LIKE it seems one also needs to add a "subtheme" for a blog:
Main theme is /abcd/
Blog Subtheme is /abcd_blog/If one does not do this the blog reverts to the default overall page.ss to style?
So - what goes into the blog subtheme folder? Can one copy say the Blackcandy_blog subtheme and rename/use this for your own custom theme?
Though Maybe I have made a dogs dinner of this too, the way I have built the site
Cheers
aidan
| 113 Views | ||
|
Page:
1
|
Go to Top |
Currently Online: AnthonyP, Euphemismus, dotperinch, patte
Welcome to our latest member: pitsnipe

