17 July 2008 at 7:20am
(Last edited: 17 July 2008 7:22am),
2. Blog installation
I downloaded the blog module and installed it fine to the root of tutorial. The problem I'm having is the admin section doesn't seem to recognize the files. On the admin side > create Blog Entry page > creates a page but it has no blog functionality included in. Please see screenshots. The page is acting more like a standard page rather then a blog post. There is no tags, date, author ect.
- how do I add the appropriate blog tags to my theme? do I need to create a new page specific to the blog?
- I copy and pasted the code from BlogEntry.ss and BlogHolder.ss into my theme and that seemed to work fine.
- how do I create a custom blog page using my theme with the blog tags and get the admin section to recognize it? Is this possible?
17 July 2008 at 9:55am
Basically each page type can have its own template and if it doesnt it defaults to Page.ss. So for the BlogHolder class and the BlogEntry class you can create a BlogHolder.ss file which has the custom fields etc and a BlogEntry.ss file.
See how the default theme does it but I think you can drop those 2 files straight into themes/yourtheme/templates/Layout otherwise with the blog module you have to create a subtheme to yourtheme and drop the files in there so you would have themes/yourtheme_blog/templates/Layout/BlogHolder.ss etc. Where yourtheme = the name of your theme