You are previewing concrete5.
O'Reilly logo
concrete5

Book Description

Create and customize your own website with the Concrete5 Beginner's Guide

  • 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

  • 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

    Table of Contents

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