Patterns Ready Logo
Complex websites and web applications can be created by combining configurations of Modules, Content Types (CCK,) Views, Panels, Menus, Blocks, Categories, Roles / Permissions, etc.. This site setup and configuration process is a very time consuming and repetitive bottleneck.

Patterns module is built to bypass this bottleneck by managing and automating site configuration. Site configuration is stored in XML or YAML (requires SPYC YAML parser, which needs to be downloaded separately from http://code.google.com/p/spyc/) called Patterns which are easy to read, modify, manage, & share and can be executed manually or as a part of an automated web site deployment.

Read the Patterns Documentation to get started.

With minimal effort, a site administrator can write a single Pattern that will simultaneously create and fully configure (or reconfigure) any number of:

  • Views (v.6)
  • Profiles (v.6)
  • Imagecache presets (v.6)
  • Content Types (v.6, v.7)
  • Menus / Menu items (v.6, v.7)
  • Blocks (v.6, v.7)
  • Content (v.6, v.7)
  • Users (v.6, v.7)
  • Taxonomies / Terms (v.6, v.7)
  • Pathauto settings (v.6, v.7)
  • System settings (enabling modules etc) (v.6, v.7)
  • Permissions / Roles (v.6, v.7)
  • System Variables (v.6, v.7)
  • Color (v.7)
  • Toolbar and Shortcut (v.7)
  • Fields (v.7)
  • More to come...

Patterns can be written to handle configuration of commonly used feature sets or even complex websites with a multitude of configurations. For example, a "News" Pattern (i.e., news.xml) could handle the job of configuring and enabling:

  • News Content Type with all associated settings
  • Date, Text and Imagefields for News Content Type
  • Corresponding "thumbnail" and "large" Imagecache presets for the tasteful display of the imagefield in teasers, full nodes and Views
  • Views Page for the elegant display of News archives
  • Views Block set to display News teasers in a region on the front page
  • Primary links menu item entry linking to the News View Page
  • News-related taxonomy/terms
  • All prerequisite modules (CCK, Imagefield, Imagecache etc.) so the Pattern can do its magic flawlessly.
  • Three Sample News nodes to make sure everything looks great after the Pattern is processed by Patterns module.

This hypothetical News Pattern could then be deployed on any number of sites, each requiring only seconds and a few clicks using the Patterns Module.

Patterns 7.x-2.x vs 7.x-1.x
The new version of Patterns includes many new features such as semantic validation, enhancements in the automatic extraction system or compatibility with Patterns server. Due to these big changes backwards compatibility with Patterns created with versions 7.x-1.x is not supported (some Patterns might be marked as non syntactically valid).

Drush integration
Full drush integration is available from version rc1 of Patterns v.7.

Patterns Installation Profile
Patterns can be executed automatically at the end of a Drupal install with the Patterns Installation Profile module.

Drush make
A Drush make makefile for the 7.x version can be downloaded here.

Related Discussion
For more information, please join the Patterns discussion on groups.drupal.org.

Sponsored By
This module was created by Gravitek Labs, and and it's current development cycle is also underwritten by Gravitek.
The 7.x version is maintained by developers working on QLectives.

Contrib Modules Patterns READY

Downloads

Recommended releases

Version Downloads Date Links
7.x-2.0-rc2 tar.gz (163.79 KB) | zip (260.34 KB) 2013-Feb-26 Notes

Other releases

Version Downloads Date Links
7.x-1.0-rc2 tar.gz (148.49 KB) | zip (242.38 KB) 2012-Nov-14 Notes

Development releases

Project Information


Maintainers for Patterns

  • drozas - 34 commits
    last: 8 weeks ago, first: 12 weeks ago
  • shakty - 305 commits
    last: 40 weeks ago, first: 1 year ago
  • csko - 121 commits
    last: 47 weeks ago, first: 1 year ago
  • michaek - 6 commits
    last: 1 year ago, first: 2 years ago
  • vaish - 156 commits
    last: 2 years ago, first: 4 years ago

Issues for Patterns

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants
nobody click here