Table of Contents

Preface

1

Chapter 1: Introduction to Drupal

7

Drupal—An Overview

8

How Drupal Came to Be

9

What Drupal Has to Offer

10

Uses of Drupal

12

Building a Drupal Site

13

Planning Your Site

13

Analyzing the Proposed Solution

15

Feasibility

15

Phone a Friend

15

Critical versus Desirable Criteria

16

The Drupal Community

16

Documentation

17

Download

18

Support

20

Forum

22

Contribute

26

Contact

27

The Drupal License

27

Summary

29

Chapter 2: Setting Up The Development Environment

31

The Drupal Environment

32

Obtaining and Installing PHP, Apache, and MySQL

34

Obtaining and Installing Drupal

38

Troubleshooting Common Problems

45

Drupal's Post-Installation Status

48

Administrator's Overview

52

Table of Contents

Creating a Basic Drupal Page

53

Summary

57

Chapter 3: Basic Functionality

59

Adding Modules

60

Third-Party Modules

61

Downloading Modules

62

Installing Modules

63

Configuring Modules

66

Forum

67

Comments

72

Search

76

Working with Blocks

77

Adding Blocks

78

Configuring Blocks

82

Menus, Primary and Secondary Links

85

Summary

95

Chapter 4: Site Configuration

97

Before We Start

98

Clean URLs

100

Error Reporting

102

File System and File Uploads

104

Logging and Reports

108

Site Information

110

Site Maintenance

113

Summary

114

Chapter 5: Access Control

115

Planning an Access Policy

116

Roles

118

Permissions

120

Users

123

Administering Users

125

User Settings

127

Access Rules

132

Summary

136

Chapter 6: Basic Content

137

Content Overview

138

Content Types

140

Working with Content

143

Working with Content Types

144

Creating Content

146

Table of Contents

Administering Content 151

Content-Related Modules 157

Aggregator 157

Book 167

Summary 173

Chapter 7: Advanced Content 175

Taxonomy 176

What and Why? 176

Implementing Controlled Taxonomies in Drupal 178

Introduction to Vocabularies 178

Dealing with Terms 180

Posting Content with Categories Enabled 182

Hierarchies 183

Content Structure 188

Implementing Thesauri in Drupal (Tags) 190

Content Construction Kit (CCK) 192

Installing CCK 192

Working with CCK 194

Adding Fields 197

Adding Groups 203

Displaying Fields 206

Export & Import 209

Adding Contributed Fields 211

HTML, PHP, and Content Posting 214

Input Formats and Filters 214

HTML 222

Creating a Feature-Rich Page 224

Posting a Feature-Rich Page 230

Summary 232

Chapter 8: Drupal's Interface_233

Planning a Web-Based Interface 234

Visual Design 234

Language 235

Images 236

CSS 238

Themes 240

Theme Anatomy 240

Choosing a Base Theme 244

Configuring Themes 249

Customizing Themes 252

Images 255

Colors 259

Table of Contents

Page Modifications Summary

Chapter 9: Advanced Features and Modifications

262 265

267

OpenID

268

Actions and Triggers

272

Language Support

275

Localization

276

Content Translation

285

Performance

291

Caching

292

Throttling

297

Dynamic JavaScript Features

300

jQuery

301

jQuery Basics

301

jQuery in Action

304

Scrolling News Ticker

306

Obtaining the Ticker

307

Adding the Content

309

Summary

310

Chapter 10: Managing Your Website

313

Backups

314

phpMyAdmin

316

The mysqldump Utility

319

Cron and Scheduled Tasks

319

The Crontab

320

Windows Scheduled Tasks

322

Website Activities

323

Path and Pathauto

324

Uninstalling Modules

330

Maintaining Users

333

Search Engine Optimization and Website Promotion

333

Upgrades

336

Upgrading Drupal

337

Upgrading Modules

340

Summary

342

Table of Contents

Appendix A: Deployment 343

Getting Ready to Deploy 343

Make Sure the Host is Ready 345

Get the Files Ready 347

Get the Database Ready 348

Transfer the Files 349

Setting Up the Site 350

Set Up the Files 350

Set Up the Database 351

Configure the Site 352

Access Problem? 353

Testing 354

Summary 355

Index 357

0 0

Post a comment