Professional Plone Development:
Building robust, content-centric web applications with Plone 3, an open source Content Management System
www.PACKTPUB.com  FREE ONLINE EDITION: Read full chapters online, download free samples from the book and more...
Book Contents Index > Chapter 8

Introduction
1: Plone in Context
2: The Case Study
3: The Development Environment
4: Customization Basics
5: Developing a Site Strategy
6: Security and Workflow
7: Using Add-on Products
8: Creating a Custom Theme
9: Nine Core Concepts of Zope Programming

10: Custom Content Types
11: Standalone Views and Forms
12: Relational Databases
13:
Users and Their Permissions

14: Rich User Interfaces with KSS
15: Next Steps
16: Server Management
17:
Setting Up a Production Server

18: Authenticating with LDAP
19: Looking to the Future
Index

Latest Updates

Free Chapter:

Chapter 2: The Case Study [946 kB PDF]

Code Download

Contact us

 

Chapter 8: Creating a Custom Theme

Plone's default look and feel is best described as functional. It has evolved over several years to facilitate a wide range of features and user interface metaphors. If Plone is being deployed as an internal content management solution, it is probably a good choice. However, custom branding is normally required for public-facing systems such as the Optilux website.

In this chapter, we will demonstrate how to create a new theme for Plone. We will add a new style sheet to change the visual appearance of various parts of the Plone site, change the default page layout, and customize a few templates to provide alternative markup where necessary.

 

Chapter 8: Creating a Custom Theme

  • Background
  • The Theme Package
    • Adding a Test to the Policy Product
    • Theme Product Contents
  • Tools and Techniques
    • Building the Theme
  • Custom CSS Style Sheets
    • Using "base_properties" and DTML Variables in Style Sheets
  • Image Resources
  • Managing Viewlets
    • Defining Viewlet Managers
    • Reassigning Viewlets
    • Creating New Viewlets
  • Overriding Visual Elements
    • Templates and Other Resources in Skin Layers
    • Zope 3-Style Browser Views
    • Viewlets
    • Portlets
  • Summary

 

   

 

Paperback 420 pages
Released: September 2007
ISBN 1847191983
ISBN 13: 978-1-847191-98-4

     

 




View the book details
on PacktPub.com

 


 

  This website is owned and maintained by Packt Publishing Ltd, 2007. All rights reserved. Terms and Conditions