Preface |
|
Overview |
|
xiii | |
Who is this book for? |
|
xvi | |
Acknowledgements |
|
xvii | |
About the author |
|
xix | |
|
Chapter 1 Introduction to Drupal |
|
|
1 | (28) |
|
|
1 | (1) |
|
|
2 | (1) |
|
1.3 How is Drupal different from other content management systems? |
|
|
3 | (1) |
|
1.4 How much do you need to know to use Drupal? |
|
|
3 | (1) |
|
1.5 What do you need to run Drupal? |
|
|
4 | (1) |
|
1.6 What version of Drupal should you use? |
|
|
4 | (3) |
|
1.6.1 Drupal 6.x or Drupal 7.x |
|
|
5 | (1) |
|
1.6.2 What is new in Drupal 7.x |
|
|
6 | (1) |
|
1.6.3 What version of Drupal is used in this book? |
|
|
7 | (1) |
|
1.7 The architecture of Drupal |
|
|
7 | (8) |
|
1.7.1 Basic concept and features |
|
|
7 | (1) |
|
|
8 | (1) |
|
|
9 | (1) |
|
|
9 | (1) |
|
|
9 | (1) |
|
|
10 | (1) |
|
|
10 | (1) |
|
1.7.8 User, Permission, Role |
|
|
10 | (1) |
|
|
11 | (1) |
|
|
11 | (1) |
|
|
11 | (1) |
|
1.7.12 Regions and blocks |
|
|
11 | (1) |
|
|
12 | (1) |
|
|
13 | (1) |
|
1.7.15 Themes and modules |
|
|
13 | (1) |
|
|
13 | (2) |
|
|
15 | (11) |
|
1.8.1 Obtaining Drupal installation scripts |
|
|
15 | (2) |
|
1.8.2 Installing Drupal on a local computer |
|
|
17 | (2) |
|
1.8.3 Installing Drupal 6.x on localhost using WampServer |
|
|
19 | (3) |
|
1.8.4 Installing Drupal 7.x on localhost |
|
|
22 | (2) |
|
1.8.5 Installing Drupal on a remote live server |
|
|
24 | (2) |
|
|
26 | (1) |
|
|
27 | (2) |
|
Chapter 2 Adding, Classifying and Viewing Content |
|
|
29 | (16) |
|
2.1 Adding your first posts |
|
|
30 | (3) |
|
2.1.1 Add, post and link a menu |
|
|
31 | (2) |
|
2.2 Viewing and editing a node |
|
|
33 | (1) |
|
|
33 | (5) |
|
2.3.1 Drupal taxonomy functions |
|
|
33 | (1) |
|
2.3.2 Planning taxonomies |
|
|
33 | (4) |
|
2.3.3 General principles that apply to the Drupal taxonomy module |
|
|
37 | (1) |
|
2.3.4 Guidelines for taxonomy design |
|
|
37 | (1) |
|
2.4 Moving a static site to Drupal |
|
|
38 | (6) |
|
|
38 | (1) |
|
2.4.2 Enable clean URLs within Drupal |
|
|
39 | (1) |
|
2.4.3 The Pathauto module |
|
|
39 | (1) |
|
2.4.4 How to install and select new modules |
|
|
39 | (1) |
|
|
40 | (1) |
|
2.4.6 Set up taxonomy/terms to reflect the existing folder structure |
|
|
40 | (1) |
|
2.4.7 How to install and select a theme |
|
|
41 | (1) |
|
|
42 | (1) |
|
2.4.9 Copying text from browser |
|
|
43 | (1) |
|
2.4.10 Copying raw formatted html |
|
|
43 | (1) |
|
2.4.11 Path to images and other web assets |
|
|
43 | (1) |
|
|
44 | (1) |
|
Chapter 3 Administering Drupal |
|
|
45 | (24) |
|
3.1 Administration overview |
|
|
45 | (8) |
|
3.1.1 The administrative toolbar |
|
|
46 | (7) |
|
|
53 | (1) |
|
3.2 Basic site administration |
|
|
53 | (4) |
|
|
53 | (1) |
|
|
54 | (1) |
|
|
55 | (1) |
|
|
55 | (1) |
|
3.2.5 The Administrative overlay |
|
|
56 | (1) |
|
|
57 | (3) |
|
|
57 | (1) |
|
|
58 | (1) |
|
|
58 | (2) |
|
3.3.4 Automatically generating URL path aliases with Pathauto |
|
|
60 | (1) |
|
|
60 | (2) |
|
3.4.1 Registration and login |
|
|
60 | (1) |
|
|
61 | (1) |
|
3.5 Backing up and restoring a Drupal Site |
|
|
62 | (2) |
|
3.5.1 Backing up a Drupal site using a GUI |
|
|
62 | (1) |
|
3.5.2 Backing up a Drupal site using the command line |
|
|
63 | (1) |
|
3.5.3 Backing up a Drupal database using the command line |
|
|
63 | (1) |
|
3.5.4 Restoring a database backup using command line |
|
|
64 | (1) |
|
3.6 Migrating a Drupal site (server to server) |
|
|
64 | (2) |
|
3.6.1 Steps in migrating a Drupal site |
|
|
65 | (1) |
|
|
66 | (1) |
|
3.7 Performance and security |
|
|
66 | (2) |
|
|
66 | (1) |
|
|
67 | (1) |
|
|
68 | (1) |
|
|
68 | (1) |
|
Chapter 4 Creating Drupal Themes |
|
|
69 | (34) |
|
|
69 | (4) |
|
|
71 | (1) |
|
|
72 | (1) |
|
|
73 | (9) |
|
|
74 | (2) |
|
4.2.2 The .tpl.php template files |
|
|
76 | (1) |
|
4.2.3 The template.php file |
|
|
77 | (2) |
|
|
79 | (1) |
|
|
79 | (3) |
|
|
82 | (20) |
|
4.3.1 Creating the directory structure |
|
|
82 | (1) |
|
4.3.2 Building the info file |
|
|
83 | (6) |
|
4.3.3 Building the page.tpl.php file |
|
|
89 | (2) |
|
4.3.4 Building other template files |
|
|
91 | (3) |
|
4.3.5 Menus and theme settings |
|
|
94 | (1) |
|
4.3.6 Creating new theme regions |
|
|
94 | (1) |
|
|
95 | (2) |
|
|
97 | (1) |
|
|
98 | (4) |
|
4.3.10 Adding a screenshot |
|
|
102 | (1) |
|
|
102 | (1) |
|
Chapter 5 Creating Drupal Modules |
|
|
103 | (18) |
|
|
104 | (7) |
|
5.1.1 Components of a module |
|
|
105 | (1) |
|
|
105 | (3) |
|
|
108 | (1) |
|
5.1.4 General coding standards for modules |
|
|
108 | (2) |
|
|
110 | (1) |
|
5.1.6 How the hook functions |
|
|
111 | (1) |
|
|
111 | (2) |
|
|
112 | (1) |
|
|
113 | (1) |
|
5.3 Creating the .info file |
|
|
113 | (1) |
|
5.4 Creating the .module file |
|
|
114 | (3) |
|
5.4.1 Implementing the help hook |
|
|
114 | (3) |
|
|
117 | (1) |
|
|
117 | (1) |
|
|
118 | (1) |
|
5.6 Testing and troubleshooting |
|
|
118 | (1) |
|
|
118 | (1) |
|
|
118 | (1) |
|
5.7 Resources for module development |
|
|
118 | (1) |
|
|
119 | (2) |
|
Chapter 6 Building a Community Site with Drupal Commons |
|
|
121 | (18) |
|
6.1 Acquia Drupal Commons |
|
|
121 | (2) |
|
6.1.1 Corporate community sites |
|
|
121 | (1) |
|
6.1.2 The benefits of Commons |
|
|
122 | (1) |
|
6.1.3 Drupal Commons support |
|
|
122 | (1) |
|
|
123 | (1) |
|
|
123 | (2) |
|
|
125 | (3) |
|
|
128 | (1) |
|
|
129 | (1) |
|
|
129 | (4) |
|
6.7.1 Changing the header graphic |
|
|
129 | (1) |
|
6.7.2 Changing the home page introductory block |
|
|
130 | (2) |
|
6.7.3 Adding a page to the website outside of a group |
|
|
132 | (1) |
|
6.7.4 Changing order in the navigation menu |
|
|
132 | (1) |
|
|
133 | (5) |
|
|
133 | (2) |
|
|
135 | (1) |
|
6.8.3 Creating a status message |
|
|
136 | (1) |
|
6.8.4 Sending messages to other users |
|
|
137 | (1) |
|
6.8.5 Posting messages to a group |
|
|
138 | (1) |
|
6.9 Building Administrative Skills |
|
|
138 | (1) |
|
|
138 | (1) |
|
Chapter 7 Building a Conference Site with COD |
|
|
139 | (22) |
|
|
139 | (1) |
|
|
140 | (1) |
|
|
140 | (3) |
|
|
141 | (2) |
|
7.3 Preliminary configuration |
|
|
143 | (4) |
|
7.3.1 Changing the header graphic |
|
|
144 | (1) |
|
|
145 | (1) |
|
7.3.3 Creating roles and permissions |
|
|
145 | (1) |
|
|
145 | (2) |
|
|
147 | (1) |
|
|
147 | (1) |
|
|
148 | (8) |
|
|
148 | (1) |
|
|
149 | (2) |
|
|
151 | (1) |
|
|
152 | (2) |
|
7.5.5 Creating the schedule |
|
|
154 | (1) |
|
|
154 | (2) |
|
|
156 | (2) |
|
7.6.1 Creating conference attendees |
|
|
156 | (1) |
|
7.6.2 Creating a community for attendees |
|
|
156 | (1) |
|
7.6.3 Administering schedules |
|
|
157 | (1) |
|
7.7 Conference management |
|
|
158 | (2) |
|
|
158 | (1) |
|
|
159 | (1) |
|
7.7.3 Your Schedule display |
|
|
159 | (1) |
|
7.7.4 Checking in attendees |
|
|
160 | (1) |
|
|
160 | (1) |
|
7.8.1 Other online resources |
|
|
160 | (1) |
|
|
160 | (1) |
|
Chapter 8 Creating a News Publishing Site with OpenPublish |
|
|
161 | (20) |
|
|
161 | (1) |
|
|
161 | (1) |
|
|
162 | (2) |
|
8.2.1 Obtaining your download |
|
|
162 | (1) |
|
8.2.2 Completing the installation |
|
|
162 | (2) |
|
|
164 | (1) |
|
8.3.1 Accessing administration page |
|
|
164 | (1) |
|
8.3.2 Changing the site logo |
|
|
165 | (1) |
|
|
165 | (1) |
|
|
165 | (11) |
|
|
165 | (3) |
|
|
168 | (3) |
|
|
171 | (1) |
|
|
171 | (1) |
|
|
172 | (2) |
|
|
174 | (2) |
|
|
176 | (3) |
|
|
177 | (1) |
|
|
177 | (1) |
|
|
178 | (1) |
|
|
178 | (1) |
|
|
178 | (1) |
|
8.6 Improving OpenPublish skills |
|
|
179 | (1) |
|
|
179 | (2) |
|
Chapter 9 Creating an Intranet with Open Atrium |
|
|
181 | (22) |
|
|
182 | (1) |
|
|
182 | (2) |
|
9.2.1 Obtaining your download |
|
|
182 | (1) |
|
9.2.2 Completing the installation |
|
|
183 | (1) |
|
|
184 | (4) |
|
9.3.1 Accessing administration page |
|
|
184 | (1) |
|
9.3.2 Changing the site logo |
|
|
184 | (1) |
|
|
185 | (3) |
|
9.4 Creating a new admin user |
|
|
188 | (1) |
|
|
188 | (3) |
|
|
191 | (1) |
|
|
192 | (7) |
|
9.7.1 Adding new content type |
|
|
192 | (1) |
|
9.7.2 Adding a blog entry |
|
|
192 | (1) |
|
|
193 | (1) |
|
|
193 | (2) |
|
|
195 | (4) |
|
9.8 Working with the dashboard |
|
|
199 | (3) |
|
9.8.1 Section (1) Layout selection |
|
|
199 | (1) |
|
9.8.2 Section (2) Category selection |
|
|
200 | (1) |
|
9.8.3 Section (3) - available blocks |
|
|
200 | (1) |
|
|
201 | (1) |
|
|
202 | (1) |
|
|
202 | (1) |
|
Chapter 10 Creating a Learning Management System with ELMS |
|
|
203 | (14) |
|
|
203 | (1) |
|
|
203 | (1) |
|
|
204 | (2) |
|
10.2.1 Possible installation problems |
|
|
205 | (1) |
|
|
206 | (1) |
|
|
206 | (9) |
|
10.3.1 Accessing administration page |
|
|
206 | (1) |
|
|
207 | (1) |
|
|
208 | (1) |
|
10.3.4 Changing the site logo |
|
|
209 | (1) |
|
|
209 | (1) |
|
10.3.6 Content management |
|
|
210 | (1) |
|
|
211 | (4) |
|
10.4 Improving ELMS Skills |
|
|
215 | (1) |
|
|
215 | (2) |
|
Chapter 11 Monitoring, Optimizing and Analyzing a Drupal Site |
|
|
217 | (16) |
|
|
217 | (6) |
|
11.1.1 Logging and errors |
|
|
218 | (1) |
|
|
219 | (2) |
|
|
221 | (1) |
|
|
222 | (1) |
|
|
223 | (3) |
|
|
223 | (2) |
|
11.2.2 Bandwidth optimization |
|
|
225 | (1) |
|
|
225 | (1) |
|
11.2.4 Performance resource modules |
|
|
226 | (1) |
|
|
226 | (5) |
|
|
226 | (2) |
|
11.3.2 Yahoo! Web Analytics |
|
|
228 | (1) |
|
11.3.3 Piwik Web analytics |
|
|
229 | (2) |
|
|
231 | (2) |
Index |
|
233 | |