How to recreate the blog and blog entry page types in 5.7

This is a community-contributed tutorial. This tutorial is over a year old and may not apply to your version of Concrete CMS.
May 6, 2015

Anatomy of a page type - Blog and Blog Entry.

There are four basic templates that come with the Elemental theme.
1. Blank - blank.php
2. Full - full.php (which is default with a different name)
3. Left Sidebar - left_sidebar.php
4. Right Sidebar - right_sidebar.php

In the Elemental theme, there are all sorts of pages that look very different from the four basic page templates. All those variations come from custom layouts. Custom layouts allow you to split areas into columns. You can even split columns up into more columns.

There are a series of steps to make each page type.
1. add the template
- Dashboard > Pages & Themes > Page Templates
- Add Template
2. fill out its basic details
3. edit its compose form
4. set the defaults for the page templates

In Concrete CMS 5.7, page types and page templates are separate. This allows you to create a page type and defaults for how the information will be displayed on different page templates. A page type could have a sidebar template, full template, custom template, and any other variation you could think of. A page type can also be restricted to one specific template.

When setting the page type defaults on the page templates, you will be using blocks to set the different attributes and properties on the page. The most common will be the Page Title block, Page Attribute Display block, and Composer Control block. Other blocks will be used to add comments, date navigation, page lists, etc.

Attached is a png of screenshots with annotations of what specifically is included in the Elemental theme Blog and Blog Entry.

annotated screenshots

Recent Tutorials
Setting addon/theme version compatibility in the marketplace
Jan 9, 2024

For developers worn out with setting the latest addon or theme version manually across too many core versions, here is a JavaScript bookmarklet to do it for you.

How to get the locale of a page
Jan 8, 2024
By mandako.

Now, why don't we just have a getLocale() method on Page objects beats me, but here's how you work around it

Using a Redis Server
Jun 16, 2023
By mlocati.

How to configure Concrete to use one or more Redis servers to persist the cache.

Using the Concrete Migration Tool Addon
Apr 27, 2023

How to use the Concrete CMS Migration Tool

How To Add Page Last Updated To Your Concrete CMS Pages
Mar 7, 2023

Concrete CMS has a page attribute you can add to a global area called "Page Date Modified." Here's how to add it

How To Exclude Subpages from Navigation
Dec 24, 2022

How to exclude subpages from navigation - useful for a news or blog link in your main navigation where you don't want all the subpages to appear in a drop down menu.

Improvements?

Let us know by posting here.