/[drupal]/contributions/modules/skeleton/README.txt
ViewVC logotype

Contents of /contributions/modules/skeleton/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download)
Thu Aug 27 19:36:11 2009 UTC (2 months, 4 weeks ago) by deviantintegral
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-ALPHA1, HEAD
Changes since 1.3: +44 -35 lines
File MIME type: text/plain
#344134: Update README.txt.
1 // $Id: README.txt,v 1.3 2007/06/17 16:18:59 agentken Exp $
2
3 Skeleton Outlines
4 =================
5
6 == Current Maintainer ==
7
8 Andrew Berry
9 Email: andrewberry@sentex.net
10 Drupal: deviantintegral
11 CVS: deviantintegral
12 IRC: deviantintegral
13
14 == Original Author ==
15
16 Ken Rickard
17 Email: agentrickard [at] gmail [dot] com
18 Drupal: agentrickard
19 CVS: agentken
20 IRC: agentrickard
21
22
23 Contents
24 ========
25
26 1. Overview
27 2. Requirements
28 3. Installation
29 4. Permissions
30 5. Usage
31 6. To Do
32
33 --------
34 1. Overview
35
36 The Skeleton module works with the core Book module to create pre-configured outlines that can
37 be reused. After creating a skeleton and assigning templates to it, users with the proper permission
38 will be able to create new books that clone the outline and content of the skeleton.
39
40 The original use-case of this module is for publishing on an intranet site, where it is important to create
41 the same information structure repeatedly. The skeleton module is designed to make this repetitive task
42 easy to perform -- especially for non-technical site administrators.
43
44 Sample skeleton: Create customer record keeping for Drupal development.
45
46 Page Node Type Parent Weight Visibility
47 ---- --------- ----- ------ ---------
48 Project Summary CCK none -15 All users
49 Deadlines CCK (dates) Project Summary -10 Staff
50 Customer FAQ forum Project Summary 0 Staff && Customer
51 Contracts book (files) none 3 Management && Customer
52 Project Notes forum none 5 Staff
53 Documentation book none 10 All users
54 Technical Docs book Documentation 0 Staff
55 End User Docs book Documentation 5 All users
56 Screenshots book End User Docs 0 All users
57
58 This way, you set up the skeleton rules once, including all default node data and settings.
59 Then you simply create a new "instance" of the book for each customer.
60
61 The Token module is used to allow for tokenized replacements within Title, Body, and CCK Text
62 fields. Tokens can be defined by site administrators. When a custom token is used within a
63 template, users are asked to fill in a value for that token when creating a skeleton instance.
64 This feature is best used for snippets of text within node bodies; for more complicated data,
65 consider if a CCK field would be a better fit.
66
67 Skeletons templates can also be syncronized to existing content, provided that content hasn't
68 been modified. Once the content has been modified, future changes to the template are always
69 ignored to prevent overwriting customized content. Syncronization supports adding or deleting
70 templates, as well as the content within templates.
71
72 --------
73 2. Requirements
74
75 The Skeleton module requires that the Book module is enabled and configured. Book is a core Drupal
76 module. The Token (http://drupal.org/project/token) module is also required.
77
78 The current development release is dependent on patches from two core issues:
79
80 * http://drupal.org/node/364529: menu_tree_all_data() static cache can become stale
81 * http://drupal.org/node/360377: book_get_books() cache becomes stale when batch-inserting book pages.
82
83 You must apply the latest Drupal 6 patches from those issues for this module to work. For information
84 about patching, please see the patch documentation at http://drupal.org/patch.
85
86 --------
87 3. Installation
88
89 Skeleton uses the standard Drupal install system. Extract the module to your modules directory
90 (usually sites/all/modules) and enable it on the modules page.
91
92 Skeleton can be cleanly uninstalled by using the module Uninstall tab on the modules overview page.
93
94 --------
95 4. Permissions
96
97 There are two permission settings (Access Rules) for the Skeleton module.
98
99 "configure skeleton outlines" -- this is the admin privilege; it allows users to create, edit, syncronize,
100 and delete skeletons and templates. At least one user must have this permission.
101
102 "create new instances" -- an 'instance' is a new book created from a skeleton. Users with this
103 privilege can only create new books from existing skeletons. This permission is designed for
104 non-technical users.
105
106 --------
107 5. Usage
108
109 After configuring module permissions, you must create at least one skeleton and at least one template.
110
111 When you have created template(s) and skeleton(s), you will be able to assign templates to skeletons,
112 set the outline order, and create new instances.
113
114 Templates may be of any registered node type. When you create a template, you will first be asked
115 to select the node type. After this step, you will be taken to the template editing form.
116
117 When editing a template, you will be presented with a node editing form. Skeleton uses hook_form_alter()
118 to present a modified node form for storing template data.
119
120 The Skeleton module works with Book module, Node and CCK modules, and the Node Access module --
121 and in theory it should work with all node modules. It has been tested with Node Access expressly, which
122 allows you to configure the visibility of individual pages within your skeleton.
123
124 Note that the following node form elements cannot be accessed by the Skeleton module (see line 226 of
125 skeleton_template.inc):
126
127 'menu', 'path', 'attachments', 'field_file', 'log', 'preview'
128
129 Attachments via upload.module and CCK's filefield are expressly prohibited.
130
131 --------
132 6. To Do
133
134 This module is in ALPHA release stage and it needs some developer love. Some issues to test and work on:
135
136 a) skeleton_get_tree() needs review.
137 This function is cloned from taxonomy_get_tree() and is uesd to prepare the outline schema for
138 a skeleton outline. There are likely efficiencies to be gained by optimizing this function.
139
140 skeleton_get_tree() is in skeleton_common.inc
141
142 For all other issues, please see the issue queue at http://drupal.org/project/issues/skeleton.
143

  ViewVC Help
Powered by ViewVC 1.1.2