Book Image

Creating Concrete5 Themes

Book Image

Creating Concrete5 Themes

Overview of this book

Creating a concrete5 theme isn't complicated if there’s already a HTML document. There are only very few PHP functions you’ll have to add, but those are powerful and give you a lot of freedom. As you’ll learn to create mobile ready themes, you’ll start to see that there’s almost no limit in what you can do."Creating Concrete5 Themes" is a practical, hands-on guide that provides you with a number of examples that will teach you how to create powerful concrete5 themes, change the look of content block elements, and even make your site ready for mobile devices."Creating Concrete5 Themes" starts with a few words about the editing concept and architecture of concrete5 and then continues with the creation of a basic theme which gets extended with more and more elements until the theme is mobile ready.You will learn where to find the information necessary to get your own concrete5 site and then get a quick introduction to understand the idea of the in-site editing concept. We’ll then create a theme which is extended with features and more details as we progress. You’ll also see some examples to show you the process of overriding elements from the core without losing the ability to upgrade concrete5 in the future. Once we’ve customized every element in concrete5 to build a complete theme, we’ll have a look at responsive techniques to make your site ready for small screen devices such as mobile phones and tablets.  
Table of Contents (13 chapters)
Creating concrete5 Themes
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Summary


If you got to this point and have carefully read and studied the idea behind the single pages, you should be able to customize the look and feel of this concrete5 element. Customizing single pages is something that a lot of theme developers tend to forget, but it's easy to do as you can use an almost identical recipe for all your sites. Mostly, you just have to create the view.php in your theme and specify the pages to be changed in site_theme_paths.php.

Play around with the single pages features offered by concrete5, find a way that suits you and you'll be able to use it on several sites without a lot of work. If you try to keep the structure of your themes the same, you get the single page styling pretty much for free.

If you want to remember what a single page is, keep in mind that the whole dashboard has been built using single pages. Why? It's mainly because the functionality on each page is unique and contains some rather specific code not used in other places.

You might wonder...