Building Websites with ExpressionEngine 2

Building Websites with ExpressionEngine 2
eBook: $26.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $71.98    Print cover: $44.99
save 44%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Learn all the key concepts and terminology of ExpressionEngine: channels, templates, snippets, and more
  • Use RSS to make your content available in news readers including Google Reader, Outlook, and Thunderbird
  • Manage your ExpressionEngine website, including backups, restores, and version updates
  • Written in an easy-to-follow step-by-step style, with plenty of examples and exercises


Book Details

Language : English
Paperback : 328 pages [ 235mm x 191mm ]
Release Date : September 2010
ISBN : 1849690502
ISBN 13 : 9781849690508
Author(s) : Leonard Murphy
Topics and Technologies : All Books, CMS and eCommerce, Content Management (CMS), jQuery, PHP, Web Development

Table of Contents

Chapter 1: Introduction to ExpressionEngine
Chapter 2: Getting Installed
Chapter 3: The ExpressionEngine Tour
Chapter 4: Moving a Website to ExpressionEngine
Chapter 5: Creating a Fully-Equipped Channel
Chapter 6: Members
Chapter 7: Creating a Calendar
Chapter 8: Creating a Photo Gallery
Chapter 9: Beyond the Basics
Chapter 10: Extending ExpressionEngine
Appendix A: Installing WampServer
Appendix B: Solutions to Exercises
  • Chapter 1: Introduction to ExpressionEngine
    • What is a content management system?
    • Introducing ExpressionEngine
    • How does ExpressionEngine compare?
      • The business case
      • The technical case
    • Who is this book intended for?
    • Who is this book not intended for?
    • What can you expect from this book?
    • New in this edition
    • Further reading and resources
  • Chapter 2: Getting Installed
    • What do you need to get started?
    • Assumptions
    • Setting up the ExpressionEngine database
      • Downloading the ExpressionEngine files
      • Uploading the ExpressionEngine files
      • Installing ExpressionEngine
    • Logging into the control panel
    • Creating user-friendly URLs
      • Hiding the index.php in ExpressionEngine URLs
      • Renaming index.php in ExpressionEngine URLs
    • Summary
  • Chapter 3: The ExpressionEngine Tour
    • Agile Records
    • Inside the control panel
      • Tab Manager
      • Notepad
      • Quick Links Manager
      • Control panel themes
    • Creating content
    • Templates and URLs
      • Creating your first template
      • Using tags to display content in your templates
    • Challenges
    • Summary
  • Chapter 4: Moving a Website to ExpressionEngine
    • Introducing Ed & Eg
    • Deciding upon an approach
    • Designing and building your channel
      • Custom statuses
      • Categories
      • Custom fields
      • Creating a custom field group
        • Creating your first custom field
        • Creating your second custom field
      • Creating a new channel
    • Creating the content for our channel
    • Creating templates
      • Pointing your template to your channel
      • Adding more pages
        • Publishing a second page
        • Creating a second template
        • Going live
    • Avoiding repetition
      • Preload text replacements
      • User-defined global variables
      • Snippets
        • Creating a menu
      • Embedded templates
    • Creating a 404 Page not found
    • Templates as files
    • Challenges
    • Summary
  • Chapter 5: Creating a Fully-Equipped Channel
    • Designing your channel
      • Creating your custom channel fields
      • Creating your categories
      • Creating your new channel
    • Publishing your first set of questions
    • Creating your FAQ templates
      • Creating your single-entry page
    • Allowing comments on your entries
      • Preventing comment spam
      • Creating a comment form
      • Allowing visitors to preview comments
    • Organizing your data with categories
    • Displaying categories with your entries
      • Distinguishing your category browsing page
      • Displaying related entries by category
    • The FAQ snippet
    • Setting up an RSS or Atom feed
    • Improving your 404 Page
    • Challenges
    • Summary
  • Chapter 6: Members
    • Designing your membership
      • Membership preferences
      • Registering as a new member
        • The member profile
        • The member list
      • Linking to the member templates
    • Introduction to member groups
      • Creating a member group
      • Creating a member
        • Logging in as Editor Ed
    • Modifying the Publish page layout
    • Creating member-only content
      • Making content visible to members only
    • Challenges
    • Summary
  • Chapter 7: Creating a Calendar
    • Designing the calendar
    • Setting up your channels
      • Creating custom fields for event sponsors
      • Creating the event sponsors channel
      • Creating the events custom fields
      • Creating the events channel
      • Creating example events
    • Creating the calendar
      • Creating a blank calendar template
      • Creating the calendar
      • Formatting the calendar with CSS
        • Creating the calendar CSS template
        • Adding styles to your calendar CSS
    • Setting up FancyBox
    • Creating your single-entry template
    • Displaying events on your calendar
    • Challenges
    • Summary
  • Chapter 8: Creating a Photo Gallery
    • Designing your photo gallery
    • File manager
    • Creating your photo gallery channel
      • Creating your custom fields
      • Creating your categories
      • Creating your channel
      • Uploading your first photos
    • Creating your templates
      • Creating the single-entry page
      • Creating the multiple-entry page
        • Adding content to your multiple-entry page
    • Image editing features
    • Photo gallery add-ons
      • Image sizer
      • Channel Images
    • Challenges
    • Summary
  • Chapter 9: Beyond the Basics
    • The Search module
      • Adding a search box to your site
      • Creating a search results template
      • The no-results template
      • Advanced search
    • The Mailing List module
      • Setting up the Mailing List
      • Allowing members to sign-up
      • Sending e-mails
    • The Email module
      • Creating a contact form
      • Creating a tell-a-friend form
        • Creating the tell-a-friend template
    • The Moblog module
      • Setting up the Moblog module
    • Setting up your template
    • Sending a Moblog e-mail
  • The Wiki module
    • Setting up the wiki
    • How does the wiki work?
  • Other ExpressionEngine modules
    • Multiple Site Manager
  • Summary
  • Chapter 10: Extending ExpressionEngine
    • Backups and restores
      • Backups
      • Database restores
    • Upgrading ExpressionEngine
    • ExpressionEngine add-ons
      • Types of add-ons
        • Modules
        • Accessories
        • Extensions
        • Field types
        • Plugins
      • Third-party add-ons and add-on developers
        • Pixel & Tonic
        • Solspace
        • Newism (Leevi Graham)
        • Low (Lodewijk Schutte)
        • nGen works
      • Other notable add-ons
    • Optimizing ExpressionEngine
      • Spam
      • Performance
    • Summary

Leonard Murphy

Leonard Murphy was one of the earliest adopters of ExpressionEngine when it was first released in 2004, and was the author of a series of free tutorials that helped other new users to see what ExpressionEngine had to offer. The tutorials were a hit, and over the years, ExpressionEngine became more and more popular, so in 2008 Leonard expanded his tutorials into the first edition of Building Websites with ExpressionEngine. Two years later, with the release of ExpressionEngine 2, Leonard is back with a completely revised new edition.

Leonard started his career in the UK, graduating from the University of Wales, Aberystwyth. In 2004, he moved to the United States and currently works for Summit Credit Union (a not-for-profit financial institution headquartered in Madison, Wisconsin). He also provides consulting and technical support for small business websites.

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.


- 2 submitted: last submission 02 Nov 2012

Errata type: Layout | Page number: 87

In the information box in the middle of the page, the last phrase appears to have a double space in it between "than" and "changing":
"(rather than  changing every occurrence..."

and has two periods at the end:
"...of the domain name.)."

Please ignore the extra space in the former and the latter should read "...of the domain name)."

Errata Type: Technical | Page number: 25

The last two lines:
"Select Unix as the type of server. You would normally know if your web
server is Windows rather than Unix-based."

These lines should be omitted as it looks like the "Type of Server" prompt was removed in the latest version of ExpressionEngine, so the sentence on how to answer it no longer applies.


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

Building Websites with ExpressionEngine 2 +    Learning Geospatial Analysis with Python =
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

  • Install and set up the ExpressionEngine software and learn how to set up a local development website server on your own PC
  • Get step-by-step instructions on how to build a business website in ExpressionEngine
  • Build an interactive website with comments, e-mail forms, mailing lists, and more to allow visitors to interact with your website.
  • Learn how to create dynamic content and organize it using categories
  • Create a slick photo gallery using just ExpressionEngine and jQuery (and some photos!)
  • Create an events calendar for your website to indicate what is going on when
  • Learn how to manage members and member groups and handle new member registrations, forgotten passwords, and logging in
  • Receive key advice on doing backups and software upgrades to secure your website
  • Get an overview of must-have add-ons to stay ahead of the game
  • Absorb tons of hints and tips so you quickly feel like a pro

In Detail

ExpressionEngine is a flexible, feature-rich content management system used by top designers and web professionals across the world to build and manage their websites. It is written in the world's most popular web scripting language, PHP, and built on the MySQL database server. Are you eager to start creating websites with ExpressionEngine?

Written for ExpressionEngine version 2.1 and later, this book will give you clear, concise, and practical guidance to take you from the basics of setting up ExpressionEngine to developing the skills you need to create ExpressionEngine websites to be reckoned with.

You will begin with setting up a basic installation of ExpressionEngine. You will then learn how it works, before learning how to create and manage your website in ExpressionEngine. As you progress further into the book you will learn how to build an events calendar and how to build a photo gallery and before you know it, visitors to your website will be able to post comments, search your content, sign-up for a mailing list, and even send their friends an e-mail. As you consider the benefits of buying this book, you will learn how to manage members and member groups, how to optimize your website and avoid repetition, how to remove the index.php file for cleaner URLs, and how to take backups. At the end of the book, you will learn how to update ExpressionEngine to its latest version.

Go from the basics of setting up ExpressionEngine to creating a small business website with this concise, practical guide.


This book is a clear and enjoyable tutorial packed with carefully explained steps for constructing a small business website, and information for applying the skills learned to your everyday work with ExpressionEngine.

Who this book is for

If you have familiarity with building websites using HTML/CSS or with software such as DreamWeaver or other content management systems such as Drupal, WordPress, Joomla!, or Plone, then ExpressionEngine may be what you are looking for. This book is suitable for anyone who wants to develop a fully featured web presence with a simple and straightforward tool. No prior knowledge of content management systems, PHP or ExpressionEngine is assumed. A basic understanding of HTML is necessary to follow the examples.

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
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