Book Image

Building Websites with ExpressionEngine 2

By : Leonard Murphy
Book Image

Building Websites with ExpressionEngine 2

By: Leonard Murphy

Overview of this book

<p>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?<br /><br />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.<br /><br />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.</p>
Table of Contents (17 chapters)
Building Websites with ExpressionEngine 2
Credits
About the Author
About the Reviewers
Preface
Solutions to Exercises

Creating a 404 Page not found


A 404 Page is an essential part of any website, and working through this chapter, you may have noticed that your 404 Page is still themed like the Agile Records website. In this section, you will take advantage of all the repetition-reduction you have done as you create a new 404 Page.

  1. 1. Select Design | Templates | Template Manager, select the Includes template group, and then select New Template. Call the new template 404. The Template Type will be Web Page, select Duplicate an Existing Template, and finally select the includes/.website_page template to copy from. Click on Create and Edit.

  2. 2. Since the 404 Page content does not come from a channel, delete the line that reads {preload_replace:my_channel="website"}.

  3. 3. Change the <title> line to:

    <title>Page Not Found - Ed &amp; Eg Financial Advisors</title>
    

    Replace everything from <div id="content"> to <!-- end #content --> with:

    <div id="content">
    <h1>Page not Found...