Skeleton outlines

agentrickard - June 17, 2007 - 16:05

The Skeleton module works with the core Book module to create pre-configured outlines that can
be reused. Those outlines can include any node type, including those defined by CCK.

After creating a skeleton and assigning templates to it, users with the proper permission
will be able to create new books that clone the outline and content of the skeleton.

The original use-case of this module is for publishing on an intranet site, where it is important to create
the same information structure repeatedly. The skeleton module is designed to make this repetitive task
easy to perform -- especially for non-technical site administrators.

The Skeleton module integrates with Node Access module to allow preset access rules to new book pages.

I am looking for a co-maintainer.

Note: The Node Template module does much of what Skeleton does. The two modules differ in the interface and data management.

Sample skeleton: Create customer record keeping for Drupal development.

  Page              Node Type       Parent          Weight   Visibility
  ----              ---------       -----           ------   ---------
  Project Summary   CCK             none            -15      All users
  Deadlines         CCK (dates)     Project Summary -10      Staff
  Customer FAQ      forum           Project Summary   0      Staff && Customer
  Contracts         book (files)    none              3      Management && Customer
  Project Notes     forum           none              5      Staff
  Documentation     book            none             10      All users
  Technical Docs    book            Documentation     0      Staff
  End User Docs     book            Documentation     5      All users
  Screenshots       book            End User Docs     0      All users

This way, you set up the skeleton rules once, including all default node data and settings.
Then you simply create a new "instance" of the book for each customer.

Requirements

The Skeleton module requires that the Book module is enabled and configured. Book is a core Drupal
module.

Usage

After configuring module permissions, you must create at least one skeleton and at least one template.

When you have created template(s) and skeleton(s), you will be able to assign templates to skeletons,
set the outline order, and create new instances.

Templates may be of any registered node type. When you create a template, you will first be asked
to select the node type. After this step, you will be taken to the template editing form.

When editing a template, you will be presented with a node editing form. Skeleton uses hook_form_alter()
to present a modified node form for storing template data.

The Skeleton module works with Book module, Node and CCK modules, and the Node Access module --
and in theory it should work with all node modules. It has been tested with Node Access expressly, which
allows you to configure the visibility of individual pages within your skeleton.

Note that the following node form elements cannot be accessed by the Skeleton module:
'menu', 'path', 'attachments', 'field_file', 'log', 'preview'
Attachments via upload.module and CCK's filefield are expressly prohibited.

Notes

This is an alpha release, and there may be undiscovered bugs. Pay careful attention to the creation of templates that use radio buttons, checkboxes, and select fields, as these data types may not be stored and retrieved correctly when creating new nodes.

See section 6 of the included README for more details.

Releases

Official releasesDateSizeLinksStatus
5.x-1.02007-Jul-3016.48 KBRecommended for 5.xThis is currently the recommended release for 5.x.
 
 

Drupal is a registered trademark of Dries Buytaert.