Blog? how do I add it to my site?

So I think I created my site unconventionally.. Or maybe not. I don't know. I'm still trying to figure how the hell C5 works...

So I made 2 templates. 1 is the home page the second is the sub page. This are custom templates that I made.

So each sub page is example: and so on.

In the templates I created areas to put blocks within div tags. They work great.

I need to add a blog on a page. How do I do this? Can a blog exist within a block? I read that it needs to go into a page type. But that kind of screws everything up because I have templates already create. How do I do this? How do I insert a blog into a page?

View Replies:
slaminteractive replied on at Permalink Reply
Just want to add a plus one to this. I have done exactly the same and set one custom theme for my homepage and a separate theme that I use for all my subpages ( about, services etc, etc,).

I want to add a news section with latest stories in main block and archived links in right hand sidebar - the usual setup.

I am guessing I use my subpage theme with the "blog entry" page type but then I get the error that I need the view.php file with my theme. I have copied this file over from one of the Concrete5 pre-installed themes but I'm unsure how to customise this file to work with my own theme.

Please can someone point myself and ludicrousman in the right direction as this is my major stumbling block at the moment.
jordanlev replied on at Permalink Reply
To make the view.php file in your theme, I find it easiest to just take your theme's default.php template, copy that (and rename it to view.php), and then edit the file and replace the display of the "Main" content area with the $innerContent variable. For example, you would change this:
$a = new Area('Main');
?> this:
<?php print $innerContent; ?>
jordanlev replied on at Permalink Reply
If you install a Concrete5 site with the "Sample Content" option checked, you'll get a blog. If you didn't do that, though, I wrote a how-to that walks you through setting it up yourself:

It's not really something you do through blocks, but rather it encompasses several different aspects of C5 -- page types, custom attributes, page list, tags, search, etc. The overall idea is that each blog post is a page in your site. The blog post can have any kind of blocks in it you want -- you aren't restricted to just having one block of content. Then you have some kind of top-level "blog index" page that lists out all of the blog post pages -- just shows their titles and an excerpt of content, with a link to the full page (blog post).

Good luck!
ChrisNH replied on at Permalink Reply
I'm also new to C5. I'm Chris in New Hampshire. Does a blog entry need its own page? That's what I seem to gather. If I add a 'blog page,' I see the place for comments & such. But that page seems to be singularly tied to that blog entry. If I have another blog entry the next day, for example, it needs its own page? Is there a way to just have ONE blog page with a running tally of your entries, with the latest entry always shown at the top?
jordanlev replied on at Permalink Reply
Hi Chris,
The essence of Concrete5's functionality and architecture is that most things are page-based, and one page generally equals one "unit of information", or something like that -- so yes you are supposed to have a different page for every blog post. You might be interested in using the "Composer" feature which lets you add new pages via a dashboard interface (so the workflow is more like Wordpress, for example).