Drupal 7 Preview

Exclusive offer: get 50% off this eBook here
Drupal 7 First Look

Drupal 7 First Look — Save 50%

Learn the new features of Drupal 7, how they work and how they will impact you

$23.99    $12.00
by Trevor James | August 2010 | Content Management Drupal Open Source

There are approximately 38 critical issues that need to be resolved before Drupal 7 beta gets released. For more on these beta blocker issues check out: http://drupal.org/community-initiatives/drupal-core. In this article by Trevor James we will install Drupal 7 alpha, test it out, and ultimately help to fix the critical issues and speed up the beta release.

You'll need a localhost LAMP or XAMPP environment to follow along with the examples here. If you don't have one set up, I recommend using the Acquia Stack Drupal Installer: http://acquia.com/downloads.

Once your testing environment is configured, download Drupal 7: http://drupal.org/drupal-7.0-alpha6.

Drupal 7 Preview

Installing D7

Save the installer to your localhost Drupal /sites folder and extract it. Set up your MySQL database using your preferred method. Note to developers: D7's new database abstraction layer will theoretically support multiple database types including SQLite, PostgreSQL, MSSQL and Oracle. So if you are running Oracle you may be able to use D7.

Now load the installer page in your browser (note I renamed my extracted folder to drupal7): http://localhost:8082/drupal7/install.php. The install process is about the same as D6 - you're still going to need to copy your /sites/default/default.settings.php file and re-name it to settings.php. Also make sure to create your /files folder. Make sure the file has write permissions for the install process. Once you do this and have your db created, it's time to run the installer.

One immediate difference with the installer is that D7 now offers you a Standard or Minimal install profile. Standard will install D7 with common Drupal functionality and features that you are familiar with. Minimal is the choice for developers who want only the core Drupal functionality enabled. I'll leave it set for Standard profile.

Drupal 7 Preview

Navigate through the installer screens choosing language; and adding your database information.

Enhancements

With D7 installed what are the immediate noticeable enhancements? The overall look and feel of the administrative interface now uses overlay windows to present links to sections and content. Navigation in the admin interface now runs horizontally along the top of the site. Directly under the toolbar navigation is a shortcut link navigation. You can customize this by adding your own shortcuts pointing to various admin functionality.

Drupal 7 Preview

In the toolbar, Content points to your content lists. Structure contains links to Blocks, Content types, Menus and Taxonomy. CCK is now built into Drupal 7 so you can create custom content types and manage custom fields without having to install modules. If you want to restore the user interface to look more like D6 you can do this by disabling the Overlay module or tweaking role permissions for the Overlay module.

Content Types

Two content types are enabled with Drupal 7 core. Article replaces the D6 Story type. Basic Page replaces the D6 Page type. Developers hope these more accurate names will help new Drupal users understand how to add content easily to their site.

Drupal 7 First Look Learn the new features of Drupal 7, how they work and how they will impact you
Published: November 2010
eBook Price: $23.99
Book Price: $39.99
See more
Select your format and quantity:

Appearance (Themes)

Themes are now under the Appearance section. There are 3 new themes: Bartik, Seven and Stark. Bartik is enabled during the install. Garland makes a return from Drupal 6. You can also set your Administration theme easily from the same main Appearance screen.

Drupal 7 Preview

A huge enhancement is the ability to install contributed themes directly from the Appearance admin page. Clicking on the Install new theme link will load a screen where you can paste in the path to the theme's tar.gz file or upload directly from your desktop.

Drupal 7 Preview

Users and Permissions

People loads User administration and Permissions. In D7, users can only edit and delete their own content by default. You can bypass this by checking the Bypass content access control in Node permissions. Each time you add a custom field, there are no longer specific permission checkboxes for those fields that you need to check by default. Field permissions will most likely be handled in D7 using a contributed module such as Field Permissions (http://drupal.org/project/field_permissions) which is still being developed.

Modules

Modules loads the module administration screen. You can run cron and check for updates via links directly from this overlay. Like the Install new theme feature you can use the Install new module link to run your contributed module installs directly from their Drupal project page or uploaded from your desktop.

Site Configuration

The Configuration overlay also enhances organization. People, Content Authoring, Media, Search and Metadata, Regional and Language, System, User Interface, Development and Web Services provide easy jumps to site configuration.

Drupal 7 Preview

Reports

Reports contains a new feature called Field list. This presents a reference listing of all your custom and core content type fields.

Drupal 7 Preview

Summary

Overall Drupal 7 is an exciting release due to significant improvements in user and admin interface. The Overlay windows are impressive. The new sectioned navigation will make it easier for users and admins to move around within the site and the new module installer functionality is definitely something to rave about. There are a lot more enhancements and changes. See if you can locate them and attach a comment to this post telling us what you've found and what you think of D7.

Drupal 6 Panels Cookbook Over 40 recipes to harness the power of Panels for building attractive Drupal websites
Published: August 2010
eBook Price: $23.99
Book Price: $39.99
See more
Select your format and quantity:

About the Author :


Trevor James

Trevor James is a Drupal developer residing in Middletown, MD, USA. Trevor has been using Drupal intensively since 2007 and designing websites for over 15 years using a combination of HTML, CSS, ColdFusion, PHP, jQuery, and JavaScript.

Trevor's focus is on building Drupal-based web applications and portals for education, non-profit, and medical systems, and small business environments. He is interested in the best methods of integrating web services with Drupal sites, optimizing Drupal sites' performance, and using Drupal content types, Views, Panels, and other contributed modules to develop front-end interfaces that support data intensive websites.

He loves teaching people about Drupal and how to use this excellent open source content management framework. Trevor authored the following Packt books:

Trevor created a 14-hour video tutorial series titled Drupal 7 for Virtual Training Company (VTC) in 2011. The video is available via the VTC website at http://www.vtc.com/products/Drupal-7-Tutorials.htm.

Books From Packt

Drupal 6 Search Engine Optimization
Drupal 6 Search Engine Optimization

Drupal E-commerce with Ubercart 2.x
Drupal E-commerce with Ubercart 2.x

Drupal 6 Attachment Views
Drupal 6 Attachment Views

Drupal 6 Performance Tips
Drupal 6 Performance Tips

Drupal 6 Site Blueprints
Drupal 6 Site Blueprints

jQuery 1.4 Reference Guide
jQuery 1.4 Reference Guide

Plone 3 Intranets
Plone 3 Intranets

Moodle 2.0 First Look
Moodle 2.0 First Look

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software