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

Why you might want to build a package


In concrete5, you can build all of the objects used in the CMS yourself. No matter if it's a block, a theme, a maintenance task, or a custom attribute, there are APIs for everything and you don't need to touch the core code of the CMS. But imagine if you have a huge project where you build some blocks as well as some jobs. If you just read the previous paragraphs, you might think that you need to put all of the elements in the top-level folders: blocks and jobs. This is where a package can be handy.

Before we have a closer look at the packages, here's what a package offers you:

  • The ability to wrap several things such as blocks, jobs, and attributes in one directory.

  • An installer you can use to check requirements, add default configurations, create database tables, install new attributes, add default data, add new blocks or themes, and basically manage everything your packages needs to work.

  • A package can be submitted and sold on the official concrete5.org...