Theming Drupal is not a straightforward task, but people are trying to make it easier. One way to do that is by creating a theme framework that provides many of the basic features that designers need: a grid system, cross-browser compatibility, base CSS classes and more..
Code can be dangerous. The right code in the right place brings your site to life, but there are many places where it can be a huge security risk.
This video was taken at DrupalCamp Indianapolis this November. Rod from OSTraining gave a talk called "The Absolute Beginners Guide to Drupal".
The talk was aimed squarely at people who were brand new to Drupal. About 60 people came and enjoyed the introduction, which was a condensed version of our full-day Beginner training.
This short tutorial will show you how to find out which Drupal version your site is using.
We'll cover both Drupal 6 and 7 as there is a small difference between the two when it comes to finding your version number.
The SEO Checklist for Drupal is a very useful module to help with your SEO efforts.
The SEO Checklist module doesn't perform any SEO functions, but it will guide you through the process of optimizing your site and it will recommend best-of-breed modules. After installation the checklist will take you through a list of recommended changes made by the experts at Volacci.
Drupal allows you to do lots of things, but taking a simple content field and putting it in a block can be complex. When would you need to do this? One common example is that you might want to display an image from a content type. There are various ways to do this, but CCK Block is perhaps the easiest.
Don't be fooled by the use of the name "CCK". This module works on both Drupal 6 and 7.
CCK Blocks lets you put an image or a text block from an article, page or any content type into any block position on your theme. You can even create special content types if you need them. The only restriction is that you can only put one field in each block. We'll show you how it works, and you can use your creativity to apply it to your situation.
Drupal Commerce is currently the leading solution for building Drupal e-commerce websites.
We're going to give you a first look over Drupal Commerce, showing you how to get up and running. This won't be a detailed tutorial but introduce you to the key features. We'll show you the main modules that Drupal Commerce relies upon and will give you important resources to learn more.
The Drupal Contact module is often replaced by the Webform module. However, it can be useful in some situations. For example, imagine that you have different departments and you want each of them to get a different contact form on your Drupal website. If you're willing to keep it simple, you can do everything you need with the core Contact module and won't have to install anything else.
It all depends on knowing how to create categories and blocks.
This tutorial will show you how to create a photo gallery in Drupal 6.
It won't create the world's flashiest or most impressive gallery, but it will work. This tutorial is designed for beginners so that they can understand the key concepts behind creating a gallery in Drupal 6.
You will need to install and enable at least the five modules listed below. Several of these do depend on other modules so your final list of installed modules will be longer.
The XML sitemap module creates a sitemap for your Drupal site. This sitemap is not for visitors but for search engines. It conforms to the sitemaps.org specification and helps search engines to more intelligently crawl your website and keep their results up to date. The sitemap created by the module can be automatically submitted to Ask, Google, Bing (formerly Windows Live Search), and Yahoo! search engines. The module also comes with several other modules that can add sitemap links for content, menu items, taxonomy terms, and user profiles.
Are you a total Drupal beginner? Do you use a one-click installer like Fantastico or QuickInstall that came with your hosting account and need to reinstall into a directory that already has Drupal installed? Sometimes the /sites/ directory just won't allow itself to be deleted.
Don't worry, you're not the only person to have that difficulty. This an easy way to delete that directory so you can do a clean install with a one-click installer or just clean up your server. This is written for the absolute beginner. Don't worry, you don't need to download putty, get command line access or call anybody. Here's how to delete the /sites/ folder:
Last month we wrote this tutorial showing you how to create backups using the Backup and Migrate module. Now we need to learn how to use it to either migrate or duplicate a site.
If you have an existing site, and need to make some changes or add modules, it's best to create a test environment that is identical to the production site. Do all your experimentation there and then it's a snap to migrate the changes.
This tutorial shows you how to migrate or duplicate your site using the Backup and Migrate module.
There is nothing quite so important to a developer as backups.
Backup and Migrate makes the task of backing up your Drupal database and migrating data from one Drupal install to another easier. It provides a function to backup the entire database to file or download, and to restore from a previous backup. You can also schedule the backup operation. Compression of backup files is also supported. The database backup files created with this module can be imported into this or any other Drupal installation with the restore feature, or you can use a database tool such as phpMyAdmin.
You've seen Captcha used on many, many websites. Before you can submit a form, it provides a question and asks for a response from you. This prevents many spam comments, form submissions and email submissions.
This tutorial will show you how to use the standard Captcha module for Drupal and will introduce you to several alternatives.
You can use content types and fields to create product pages, business listings, or virtually any type of content that has specific information that needs to be included with each entry.
We'll show you how to add a new field, and existing field and a teaser to a new content type that you create.
This tutorial is part of our series on upgrading from Drupal 6 to 7. Click here to find other tutorials on upgrading.
Notice: unserialize() [function.unserialize]: Error at offset 74 of 75 bytes in variable_initialize() (line 749 of /srv/www/
This error and others like it often occur when updating from Drupal 6 to 7 and is caused by left-over settings from modules that did not clean up when they were uninstalled, and are not stored in the correct format. These will cause PHP errors.
A new module called Variable Check will check the database for errors and make it easy to spot the problem and delete the variable name that is causing the error message.
CCK, or Content Construcion Kit is at the heart of many Drupal 6 sites. If you are migrating, you not only need to migrate the module, but you need to migrate the data as well.
This is a little more complicated than a simple upgrade.
Much of Content Construction Kit (CCK) in Drupal 6 is part of Drupal 7 core fields. Much but not all of CCK functionality is now part of Drupal 7 core. Several features require the installation of new, dedicated 7.x modules.
A simple site with only a few modules is a snap to upgrade. But if you have site with numerous modules, customizations and a custom theme, going from Drupal 6 to Drupal 7 requires a lot of thought and planning.
Many contributed modules that you added to Drupal 6 are now part of the core, so you don't have to move them. Some modules or your personal customizations may not have an upgrade path, in which case you can't upgrade. There are many decisions and some research involved in accomplishing a smooth upgrade.
By default, Drupal does not install any type of editor for adding styling to content. The good thing about that is you get to choose which one you want to use.
The CKEditor is one of the most popular WYSIWYG editors and with version 3.6.1 the installation is a little simpler than previous versions. Here's how to do it.
Changing from Drupal 6 to Drupal 7 is not just a simple update. The steps seem straightforward, but there are major changes in the way Drupal 7 works and stores data. So a move up across major version numbers is really a "migration" as opposed to a simple update or patch.
If your site is fairly simple, with good backups, and you use the right approach, you can accomplish the migration without too much trouble.
The more complex your site is, the more complex the migration will be.
Regions are important in Drupal because they control where you can place blocks and thus create a layout for your site. However, each theme has different regions and it is not always easy to know where your theme's regions are.
Here's a quick tutorial showing you how to find the block regions on your Drupal 6 or Drupal 7 site.
Updating a Drupal site is vital for security.
In this tutorial we're going to show you how to update your Drupal 7 site from one minor version to another. That means from 7.0 to 7.2 or 7.2 to 7.4. and so on.
Unfortunately moving between major versions such as from 5 to 6 or from 6 to 7 is a much bigger topic and too large for a single tutorial.
Before you start, please remember one thing: backup, backup, backup, backup, backup, backup, backup, backup your site!
Linkit provides an easy interface for internal linking. Linkit links to nodes, users, views and terms by default, using an autocomplete field.
Linkit requires that Pathologic is also installed.
Pathologic is an input filter which can correct paths in links and images in your Drupal content in situations which would otherwise cause them to “break;” for example, if the URL of the site changes, or the content was moved to a different server.
IMCE is a great module that will give you file management capabilities while editing your articles in Drupal 7.
You can add various WYSIWYG editors to Drupal to allow you to have advanced editing capabilities. Among these are TInyMCE, CKEditor, BUEditor and more. However, while you get a great toolbar, these plugins don't natively allow you to search your file system to find a picture to insert in your page. You need another module for that and it's called IMCE.
We are going to show you how to install it and get it working with TinyMCE. The process is similar with each WYSIWYG editor you install, but the way it looks and acts will be different in each editor. If you'd like to see a demo of how it works, you can visit this page http://ufku.com/drupal/imce/demo.
This tutorial will show you how to install the TinyMCE editor into Drupal 7.
By default, Drupal doesn't install with an editor in place so you'll need to install one to have any text formatting options. Here's how to install TinyMCE, perhaps the most popular editor for Drupal.
TinyMCE is not a Drupal not so we can install it directly. Instead we're going to install a module called Wysiwyg and we'll then upload the TinyMCE files seperately.
Client side editors in Drupal often require additional modules to enhance them. If you uploaded CKEditor, without a file management module you won't be able to search the site for pictures when you click the insert button.
CKFinder is an addition for the CKEditor that will give you file management capabilities. With this installed you will be able to search your site for pictures in your various site directories.
There was one small little feature in Drupal 6 that would routinely drive students in our classes mad. It wasn't a major feature but it was a major annoynance: controlling the author and date information. Some content on your site simply doesn't need to display the name of the author and the date the content was written.
Here's how to find the display settings in Drupal 6 and an explanation of how things have changed for the better in Drupal 7.