Book Image

concrete5 Beginner's Guide

Book Image

concrete5 Beginner's Guide

Overview of this book

Table of Contents (19 chapters)
concrete5
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we've looked at the process to transform a static HTML site into a concrete5 theme by adding a few PHP calls in our files. We've split our theme into three parts, a header, the actual content file, and a footer to make it easier to create different page templates to allow a quick change of the page structure.

After we finished our theme, we installed it, and had a look at different functions you might be able to use in case you want to get a little bit more out of concrete5.

Afterwards, we created a new page attribute where we can assign a page specific background picture. The attribute example was rather simple, but once you've got into it, you should be able to come up with a lot of different applications for attributes.

Next, we added a navigation block right into our template to avoid the need to use page defaults or manually add the navigation on each page. This also made it impossible for the end user to accidentally remove or modify the navigation, a part of...