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


We've created several templates to extend the default concrete5 blocks. While we've only looked at the page list, content, guestbook, and slideshow block, the procedure is the same for every block you can find, also for blocks downloaded from the marketplace.

While templates are very easy to create, they sometimes lack functionality. In the previous examples you might have seen some values we had to add statically to a JavaScript file. This is one problem you might run into with templates, it's just a template, there's no way to change the block edit interface. If you wanted to change values like the dimensions of the pictures in a gallery you'd have to create your own block, exactly what we're going to do in Chapter 8.

You can find all the templates from this chapter in the accompanying ZIP file, extract it to blocks and all templates will be available.

But luckily, concrete5 is not restricted to custom templates; you can easily build your own block for a more sophisticated user experience...