Plone 3 Theming

Create flexible, powerful, and professional themes for your web site with Plone and basic CSS

Plone 3 Theming

Progressing
Veda Williams

Create flexible, powerful, and professional themes for your web site with Plone and basic CSS
$10.00
$39.99
RRP $23.99
RRP $39.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

+ Collection
Free Sample

Book Details

ISBN 139781847193872
Paperback324 pages

About This Book

  • Best practices for creating a flexible and powerful Plone themes
  • Build new templates and refactor existing ones by using Plone's templating system, Zope Page Templates (ZPT) system, Template Attribute Language (TAL) tricks and tips for skinning your Plone site
  • Create a fully functional theme to ensure proper understanding of all the concepts
  • A step-by- step approach to ensure proper understanding of all the concepts

Who This Book Is For

This book is targeted at professional web designers working with Plone who want to create their own unique look and feel for a Plone web site.

Table of Contents

Chapter 1: Theming Plone 3: An Overview
Background
What is Plone, really?
Theming and other CMS frameworks
The evolution of skinning for Plone
Summary
Chapter 2: Skinner's Toolkit
Graphic design tools
Browser add-ons and important notes
Validation tools
Text editors
Summary
Chapter 3: Setting up your Development Environment
Buildout and you
Understanding the terminology
Setting up your development environment
Summary
Chapter 4: Create and Install a Theme Product
Generating your theme product using paster
Adding your theme product to your buildout
Starting Zope and installing your product on a Plone site
Summary
Chapter 5: Making Manual (TTW) Changes or What Not to Do
Prerequisites
What this chapter will not cover
Registering and installing a new theme
About a theme product's architecture
Changing your site via CMF action categories
About GenericSetup
Moving portal_actions configurations into a filesystem product
Skin layer customization, the old-fashioned way
Modifying images using the custom folder
Extracting items from the custom folder
Using stylesheets and the CSS resource registry tool
Working with JavaScripts in your theme product
Summary
Chapter 6: Working with Zope 3 Components
About the architecture
Summary
Chapter 7: Customizing Viewlets and Portlets
Viewlets
Portlets
Using portal_view_customizations
Summary
Chapter 8: Understanding Zope Page Templates and the Template Attribute Language
About ZPT
About the Template Attribute Language
Order of operations
Built-in names in TALES
Summary
Chapter 9: Creating, Installing, and Tweaking our Theme
About the theme
Creating a theme product
Altering the theme product's structure
Installing the theme product
Adjusting web site content to support the design
Summary
Chapter 10: General Styling and Templating Changes
Modifying the various sections of the page
Summary
Chapter 11: Custom Page Views and Sectional Styling
Changing the default home page display
Sectional styling
Applying Internet Explorer fixes
Summary
Chapter 12: Add-on Tools and Theming Tips
Popular add-on Plone products
Sectional theming
Non-Plone-specific products for theming
Debugging tools and tips
Summary
Chapter 13: Plone and Multimedia
Flash integration
Plone add-ons for multimedia
Other products to watch out for
Summary
Chapter 14: Deploying and Contributing Themes
Deploying your theme on a server
Deploying a theme for public use
Summary
Chapter 15: The Future of Theming for Plone
Why a new approach?
About the future of theming in Plone
Is XDV ready for serious deployments?
Summary

What You Will Learn

  • Create attractive themes using Plone 3 programming concepts
  • Customize your Plone theme and get a new look and feel for your web site
  • Set up a productive development environment for building a quality theme product
  • Use graphic design, Subversion, and other helpful tools that make theming easier and more efficient
  • Use Zope 3 components for building powerful Plone themes
  • Create an actual theme product using the Plone 3 theming concepts
  • Embed multimedia in a Plone template to make your theme more attractive and useful
  • Deploy and test your theme by following best practices

Chapter 1: Skinning for Plone: Overview – In this chapter, we take a look at how theming has become even more complex with the newest release of Plone. We will also compare Drupal with Plone.

Chapter 2: Skinner's toolkit – In this chapter, we take a look at the tools that are needed for theming. We also take a look at the browser add-ons that are available for debugging our web site's CSS, JavaScript, color palate, and more.

Chapter 3: Getting started – In this chapter we will configure the development environment and learn how Python and ZCML fit into the scenario. We will also learn the jargon associated with Plone 3.0 development.

Chapter 4: Making manual (TTW) changes and how to extract them into a file system – In this chapter, we will learn how to expose a theme product to a file system and install it. We take a look at the elements that comprise the component architecture for a theme product. We will also learn how the skin layers work.

Chapter 5: Working with Zope 3 components – This chapter focuses on the Zope 3 components that are involved in file system theme development. We take a look at the interfaces and adapters. We will learn how to use ZCML code to tie together the Zope 3 components. We will also learn how to use images, style sheets, and browser resources and how to write browser views.

Chapter 6: Customizing Viewlets and Portlets – This chapter focuses on Viewlets, viewlets manager and @@ manage-viewlets. We take a look at Portlets and will learn portlet customization techniques.

Chapter 7: Understanding Zope Page Templates and the Template Attribute Language – In this chapter, we will learn what a Zope Page Templates system is. We also take a look at Template Attribute Language (TAL) and will learn common TAL expressions.

Chapter 8: Building a new theme: A real-world example – In this chapter we will use the concepts that we have learned to build an actual theme product.

Chapter 9: Add-on tools and skinning tricks – In this chapter we take a look at the popular add-ons, the current state of sub-site theming and possible options, and the non-plone products that can be used to alter the site's look and feel.

Chapter 10: Plone and multimedia – In this chapter we will learn how to embed multimedia into the content of a page and into a page template. We also take a look at Plone-specified add-ons that provide multimedia support.

Chapter 11: Deploying and contributing themes – In this chapter we take a look at the suggested development environments, theme deployment workflow, the quality assurance process, where to look for potential problems, and how to contribute to the plone theming community by creating publically available themes.

In Detail

Themes are among the most powerful features that can be used to customize a web site, especially in Plone. Using custom themes can help you brand your site for a particular corporate image; it ensures standards compliance and creates easily navigable layouts. But most Plone users still continue to use default themes as developing and deploying themes that are flexible and easily maintainable is not always straightforward.

This book teaches best practices of Plone theme development, focusing on Plone 3. It provides you with all the information useful for creating a robust and flexible Plone theme. It also provides a sneak peek into the future of Plone's theming system.

In this book you will learn how to create flexible, powerful, and professional Plone themes. It is a step-by-step tutorial on how to work with Plone themes. It also provides a more holistic look at how a real-world theme is constructed. We look at the tools required for theming a web site. The book covers major topics such as configuring the development environment, creating a basic theme product, add-on tools and skinning tricks, integrating multimedia with Plone, and configuring your site's look and feel through the Zope Management Interface (ZMI). Finally, the book takes a close look at the thrilling and greatly simplified future of theming Plone sites.

Authors

Table of Contents

Chapter 1: Theming Plone 3: An Overview
Background
What is Plone, really?
Theming and other CMS frameworks
The evolution of skinning for Plone
Summary
Chapter 2: Skinner's Toolkit
Graphic design tools
Browser add-ons and important notes
Validation tools
Text editors
Summary
Chapter 3: Setting up your Development Environment
Buildout and you
Understanding the terminology
Setting up your development environment
Summary
Chapter 4: Create and Install a Theme Product
Generating your theme product using paster
Adding your theme product to your buildout
Starting Zope and installing your product on a Plone site
Summary
Chapter 5: Making Manual (TTW) Changes or What Not to Do
Prerequisites
What this chapter will not cover
Registering and installing a new theme
About a theme product's architecture
Changing your site via CMF action categories
About GenericSetup
Moving portal_actions configurations into a filesystem product
Skin layer customization, the old-fashioned way
Modifying images using the custom folder
Extracting items from the custom folder
Using stylesheets and the CSS resource registry tool
Working with JavaScripts in your theme product
Summary
Chapter 6: Working with Zope 3 Components
About the architecture
Summary
Chapter 7: Customizing Viewlets and Portlets
Viewlets
Portlets
Using portal_view_customizations
Summary
Chapter 8: Understanding Zope Page Templates and the Template Attribute Language
About ZPT
About the Template Attribute Language
Order of operations
Built-in names in TALES
Summary
Chapter 9: Creating, Installing, and Tweaking our Theme
About the theme
Creating a theme product
Altering the theme product's structure
Installing the theme product
Adjusting web site content to support the design
Summary
Chapter 10: General Styling and Templating Changes
Modifying the various sections of the page
Summary
Chapter 11: Custom Page Views and Sectional Styling
Changing the default home page display
Sectional styling
Applying Internet Explorer fixes
Summary
Chapter 12: Add-on Tools and Theming Tips
Popular add-on Plone products
Sectional theming
Non-Plone-specific products for theming
Debugging tools and tips
Summary
Chapter 13: Plone and Multimedia
Flash integration
Plone add-ons for multimedia
Other products to watch out for
Summary
Chapter 14: Deploying and Contributing Themes
Deploying your theme on a server
Deploying a theme for public use
Summary
Chapter 15: The Future of Theming for Plone
Why a new approach?
About the future of theming in Plone
Is XDV ready for serious deployments?
Summary

Book Details

ISBN 139781847193872
Paperback324 pages
Read More

Recommended for You

Professional Plone 4 Development
$ 10.00
Practical Plone 3: A Beginner's Guide to Building Powerful Websites
$ 10.00
Building Websites with Plone
$ 0.00