concrete5 Beginner's Guide


There is a newer version of this book available - concrete5 Beginner's Guide - Second Edition
concrete5 Beginner's Guide
eBook: $26.99
Formats: PDF, PacktLib, ePub and Mobi formats
$22.95
save 15%!
Print + free eBook + free PacktLib access to the book: $71.98    Print cover: $44.99
$67.94
save 6%!
Packt
Anytime, Anywhere
Unlimited eBook downloads and up to 50% off the print version!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Follow the creation of a sample site, through the installation, configuration, and deployment of a Concrete5 site
  • Use themes and add-ons to create a personalized site
  • Ideal introduction to using the Concrete5 CMS
  • Part of Packt's Beginner's Guide series – lots of practical examples, screenshots, and less of the waffle

Book Details

Language : English
Paperback : 320 pages [ 235mm x 191mm ]
Release Date : March 2011
ISBN : 1849514283
ISBN 13 : 9781849514286
Author(s) : Remo Laubacher
Topics and Technologies : All Books, CMS and eCommerce, Beginner's Guides, Content Management (CMS), Open Source, PHP

Table of Contents

Preface
Chapter 1: Installation
Chapter 2: Working with concrete5
Chapter 3: Permissions
Chapter 4: Add-ons
Chapter 5: Creating Your Own Theme
Chapter 6: Customizing Block Layout
Chapter 7: Advanced Navigation
Chapter 8: Creating Your Own Add-on Block
Chapter 9: Everything in a Package
Chapter 10: Dashboard Extensions
Chapter 11: Deployment and Configuration
Appendix: Pop Quiz Answers
Index
  • Chapter 1: Installation
    • Preparing for installation
      • Web browser
      • Text editor
      • Archive utility
      • FTP client
    • XAMPP installation
    • Time for action – installing XAMPP
    • Downloading concrete5
    • Time for action – downloading the latest version
    • Creating an empty SQL database
    • Time for action – creating an empty SQL database
    • Installing concrete5
    • Time for action – installing concrete5
      • The configuration file
      • Pretty URLs
  • Time for action – enabling pretty URLs
  • Summary
    • Chapter 2: Working with concrete5
      • Getting familiar with concrete5
      • Time for action – logging in to concrete5
      • Adding new blocks
      • Time for action – adding new blocks
      • Time for action – editing existing blocks
      • Time for action – exiting edit mode
      • The dashboard
      • Adding more pages
      • Time for action – adding pages to create a news section
      • Time for action – adding blocks to new page
      • Page defaults
      • Time for action – adding default blocks to a page type
        • Adding blocks to existing sites
      • Page commands
        • Moving and sorting pages
      • Time for action – moving and sorting your pages
      • Splitting content into columns
      • Time for action – creating a multi-column layout
      • Scrapbook
      • Time for action – putting your addresses in a scrapbook
      • Design and CSS
      • Time for action – styling your blocks
      • Summary
      • Chapter 3: Permissions
        • Basic permissions
          • Adding users and groups
        • Time for action – adding groups
          • Group expiration options
      • Time for action – adding users
        • User attributes
      • Sitemap and file manager permissions
      • Time for action – assigning sitemap permissions
      • Time for action – granting file manager permissions
        • Granting edit access
          • Managing edit access on a page by page basis
        • Creating a protected website section
      • Time for action – creating a protected website
        • Task permissions
      • Time for action – setting task permissions
        • Dashboard access
      • Time for action – granting partial dashboard access
      • Advanced permission mode
      • Time for action – activating the advanced permission mode
        • Time based page visibility
      • Time for action – setting time based page visibility
        • Subpage permissions
      • Time for action – setting sub-page permissions
        • Block based permissions
      • Time for action – using block permissions
        • Area based permissions
      • Time for action – restricting allowed blocks for an area
      • Summary
        • Chapter 4: Add-ons
          • What's an add-on?
            • Installing add-ons from the marketplace
          • Time for action – installing an add-on
          • Time for action – removing an add-on
            • Manually installing an add-on
          • Time for action – manually installing an add-on
          • Theme
            • Parts of a theme
            • Theme file structure
          • Blocks
            • Block structure
          • Packages
          • Summary
          • Chapter 5: Creating Your Own Theme
            • The new layout
              • The HTML code
              • CSS rules
            • Converting HTML and CSS to a concrete5 theme
            • Time for action – creating the concrete5 theme header
            • Time for action – creating the concrete5 theme footer
            • Time for action – creating a page template
            • Time for action – creating more page templates
            • Installing your theme
            • Time for action – installing theme
            • PHP constants and functions
            • Time for action – getting a list of available constants
            • Time for action – list all available functions
            • Time for action – checking for edit mode
            • Time for action – hiding content from anonymous visitors
            • Time for action – restricting numbers of blocks per area
            • Time for action – inserting block wrapper in area
            • Working with page attributes
            • Time for action – using attributes to set background picture
            • Time for action – accessing attribute data from a template
            • Block in templates
            • Time for action – replacing header area with template block
            • Time for action – finding autonav block properties
            • Time for action – specifying block template in area
            • Applying theme to single page
            • Time for action – creating single page layout
            • Time for action – adding variables to handle login errors
            • Creating a customizable theme
            • Time for action – a creating customizable theme
            • Summary
            • Chapter 6: Customizing Block Layout
              • Custom templates to modify block layout
              • Thumbnails in a page list
              • Time for action – adding thumbnails to a page list
              • Time for action – restricting thumbnail dimension
              • Time for action – restricting thumbnails to a custom dimension
              • Template folder
              • Time for action – creating a template folder
              • Picture pop-ups in content block
              • Time for action – building a lightbox gallery
              • Gravatar picture in guestbook
              • Time for action – adding a Gravatar picture to the guestbook
              • Avoiding duplicate code in a custom template
              • Time for action – including an existing template
              • Auto-hide news page list
              • Time for action – creating an auto-hide page list
              • Transforming a slideshow into a gallery
              • Time for action – creating a gallery template for a slideshow
              • Time for action – adding a slideshow gallery
              • Slideshow using file attributes
              • Time for action – adding file attributes to our slideshow
              • Time for action – using file attributes in the gallery
              • Advanced tooltip in content block
              • Time for action – creating advanced tooltips
              • Summary
              • Chapter 7: Advanced Navigation
                • Autonav introduction
                  • Preparation
                • Time for action – undoing autonav block integration
                  • Autonav options
                    • Autonav page structure
                    • Page order
                    • Example 1 – showing all pages
                    • Example 2 – showing relevant subpages
                    • Example 3 – showing relevant subpages starting from the top
                  • Autonav output
                • Images in the navigation
                • Time for action – creating page attributes for navigation
                • pictures
                • Time for action – creating block picture navigation template
                • CSS3 hover effect
                • Time for action – creating a CSS3 transition autonav template
                • Drop-down navigation
                • Time for action -creating SooperFish template
                • Hierarchical tree navigation
                • Time for action – building a file explorer-like navigation
                • Dynamically loading content
                • Time for action – dynamically loading concret5 content using
                • jQuery
                  • Allowing direct links in dynamically loaded pages
                • Time for action – direct link with dynamic content
                • Summary
                • Chapter 8: Creating Your Own Add-on Block
                  • Product information block
                    • Steps to create a block
                      • Database structure
                  • Time for action – creating the database structure
                  • Time for action – creating the block controller
                  • Time for action – creating the editing interface
                  • Time for action – printing block output
                    • Checking for mandatory fields
                  • Time for action – adding check for mandatory fields
                    • Adding product categories
                  • Time for action – adding product categories
                  • Product list
                    • Handling multiple block versions
                  • Time for action – handling multiple block versions
                    • Creating a product list block
                  • Time for action – creating the product list block
                  • Picture magnifier
                  • Time for action – creating the picture magnifier block
                  • PDF generation block
                  • Time for action – creating the PDF generation block
                    • generate_pdf.php
                  • FTP gallery
                  • Time for action – creating the FTP based picture gallery
                  • Summary
                  • Chapter 9: Everything in a Package
                    • What's a package?
                      • Package structure
                      • Package controller
                    • Time for action – creating the package controller
                    • Moving templates into package
                    • Moving themes and blocks into the package
                    • Time for action – moving jQZoom block into the package
                    • Time for action – moving a PDF block into the package
                    • Hooking into core events
                      • Event types
                      • Extending an event
                    • Maintenance tasks and jobs
                    • Time for action – execute concrete5 jobs periodically
                      • Creating a new job
                    • Time for action – creating a job to check for broken links
                    • Injecting header items
                      • Adding tooltips for every title tag
                    • Time for action – creating global tooltips
                      • JavaScript browser fixes
                    • Time for action – integrating CSS fix in the package
                    • Summary
                    • Chapter 10: Dashboard Extensions
                      • MVC—model view controller
                      • Broken link interface
                      • Time for action – creating the broken links dashboard
                      • extension
                        • Moving database access into model
                      • Time for action – creating package model
                        • Multiple controller methods
                      • Time for action – adding a second controller method
                      • File editor embedded in the dashboard
                      • Time for action – creating the file editor add-on
                        • Controller without logic
                      • Summary
                      • Chapter 11: Deployment and Configuration
                        • Deployment
                          • Preparations for deployment
                        • Time for action – disabling pretty URL and cache
                          • Transfer MySQL database
                        • Time for action – transferring a MySQL database
                          • Transferring files to server
                        • Time for action – transferring files to the server
                        • Time for action – updating the configuration file
                        • Time for action – setting file permissions
                        • Configuration
                          • Updating the configuration file
                          • Base URL redirection
                          • Multilanguage
                        • Time for action – installing a translation file
                          • Cache to improve performance
                        • Time for action – getting PHP information
                          • Activating SQLite
                          • Using APC
                          • Measuring the site performance
                      • Summary
                        • Chapter 2: Working with concrete5
                          • Pop Quiz 1
                          • Pop Quiz 2
                        • Chapter 3: Permissions
                        • Chapter 4: Add-ons
                        • Chapter 5: Creating Your Own Theme
                          • Pop quiz 1
                          • Pop Quiz 2
                          • Pop Quiz 3
                        • Chapter 6: Creating Your Own Add-on Block
                        • Chapter 9: Everything in a Package
                          • Pop Quiz 1
                          • Pop Quiz 2
                          • Pop Quiz 3

                          Remo Laubacher

                          Remo Laubacher grew up in Central Switzerland in a small village surrounded by mountains and natural beauty. He started working with computers a long time ago and then, after various computer-related projects, focused on ERP and Oracle development. After completing his BSc in Business Administration, Remo became a partner at Ortic, his ERP and Oracle business, as well as a partner at Mesch web consulting and design GmbH. At Mesch—where he's responsible for all development-related topics—he discovered concrete5 as the perfect tool for their web-related projects and has since become a key member of the concrete5 community. You can find his latest publications on http://www.codeblog.ch/.

                          He has also authored concrete5 Beginner's Guide and Creating concrete5 Themes.

                          Sorry, we don't have any reviews for this title yet.

                          Code Downloads

                          Download the code and support files for this book.


                          Submit Errata

                          Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


                          Errata

                          - 1 submitted: last submission 29 Aug 2013

                          Errata type: Code Update |

                          The book uses XAMPP 1.7.3 but 1.7.4 has a small change in it which is causing problems when installing concrete5. The solution is quite easy (for those who know what to do): In this file c:\xampp\php\php.ini the line: error_reporting = E_ALL | E_STRICT has to be replaced by error_reporting = E_ALL & ~(E_NOTICE | E_STRICT | E_DEPRECATED)

                           

                          Errata type: Typo| Page number: 100

                          On page 100 in the pdf version of the book, the 3 instances of "ulli" should be replaced with "ul li"

                           

                          Errata type: Code| Page number: 106

                          In the PDF version: #right-sidebar {
                          float: left;
                          should be:
                          #right-sidebar {
                          float: right;

                           

                          Sample chapters

                          You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                          Frequently bought together

                          concrete5 Beginner's Guide +    Pentaho Business Analytics Cookbook =
                          50% Off
                          the second eBook
                          Price for both: $39.00

                          Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                          What you will learn from this book

                          • Navigate your way around the toolbar and dashboard in order to edit your site
                          • Install add-ons and themes to make your site aesthetically pleasing
                          • Customize the layout of your site to enable your users to find what they need quickly
                          • Use Concrete5 blocks to add pictures.
                          • Extend the dashboard to add functionality to your blocks
                          • Deploy your site to the server

                          In Detail

                          Concrete5 is a content management system for PHP developers. It can be used to build a range of sites and is particularly optimized for creating marketing websites.

                          The Concrete5 Beginner's Guide will show you how to get up and running with Concrete5 as quickly and painlessly as possible. Taking you from installation to deployment, this is the only reference that you will need for creating your new Concrete5 site.

                          By using a number of real-world examples, as well as taking you through the set up of a sample site, this book will enable you to become familiar with all of Concrete5's features. Use add-ons, themes, and blocks to give your site the look-and-feel that you desire. Simple PHP will enable you to customize the layout and navigation options of your site, as well extend the dashboard giving you a fully functional, professional site in no time.

                          A step-by-step guide to creating professional, feature-rich sites with Concrete5

                          Approach

                          This book is part of Packt's Beginner's Guide series. You will be guided through the set up of a Concrete5 site with step-by-step practical examples.

                          Who this book is for

                          This book is ideal for developers who would like to build their first site with Concrete5. Some knowledge of PHP, MySQL, or HTML would be useful, but you will likely have little to no experience in using Concrete5. This book will teach you everything you need to know!

                          Code Download and Errata
                          Packt Anytime, Anywhere
                          Register Books
                          Print Upgrades
                          eBook Downloads
                          Video Support
                          Contact Us
                          Awards Voting Nominations Previous Winners
                          Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                          Resources
                          Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software