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

Caching for better performance


concrete5 ships with a caching functionality which improves the performance of certain elements. However, when you work on your new site, you'll often modify a number of files. Imagine what happens with a cache if you do that. A caching function has some difficulties in knowing that it has to invalidate its content and render the output again. It's not a big deal but it can be annoying. Luckily, it's easy to avoid.

When you build a new site, you might want to consider disabling all of the caches and enabling them again once you've finished the site. Type cache in the intelligent search box and select Cache & Speed Settings. You'll see a screen with a few radio buttons you can switch to Off. After you save the changes, your site won't use the cache anymore and won't bother you while you work on your files. Depending on your server and site, the cache might not give you any benefit or even run slower, but if it does, make sure you enable it again before you...