PacktLib: CMS Design Using PHP and jQuery

CMS Design Using PHP and jQuery

Credits

About the Author

Acknowledgement

About the Reviewers

www.PacktPub.com

Preface

CMS Core Design

The CMS's private and public areas

Plugins

Files and databases

Hello World

Summary

User Management

Types of users

Roles

Database tables

Admin area login page

Logging in

Logging out

Forgotten passwords

User management

Summary

Page Management — Part One

How pages work in a CMS

Listing pages in the admin area

Administration of pages

Summary

Page Management — Part Two

Dates

Saving the page

Creating new top-level pages

Deleting pages

Rich-text editing using CKeditor

Summary

Design Templates — Part One

How do themes and templates work?

Summary

Design Templates — Part Two

Adding jQuery to the menu

Summary

Plugins

What are plugins?

Example plugin configuration

Enabling plugins

Handling upgrades and database tables

Custom admin area menu

Adding an event to the CMS

Adding tabs to the page admin

Summary

Forms Plugin

How it will work

The plugin config

Page types in the admin

Adding custom content forms to the page admin

Defining the form fields

Showing the form on the front-end

Handling the submission of the form

Exporting saved data

Summary

Image Gallery Plugin

Plugin configuration

Page Admin tabs

Initial settings

Uploading the Images

Front-end gallery display

Settings tab

Grid-based gallery

Summary

Panels and Widgets — Part One

Creating the panel plugin

Registering a panel

The panel admin area

Creating the content snippet plugin

Adding widgets to panels

Showing panels on the front-end

Summary

Panels and Widgets — Part Two

Widget forms

Summary

Building an Installer

Installing a virtual machine

Creating the installer application

Checking for missing features

Adding the configuration details

Summary