SPECIAL OFFER: Only $59 for access to everything in OSTraining for 1 year! You save $85! 
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

| Drupal

"If ..., then ..." is one of the most commonly used phrases in the world of software development and, I suppose, in life:

  • If the sky is blue, then it probably won't rain.
  • If I learn Drupal, then I'll make lots of money.
  • If the webpage URL includes "services" in the path, then display the block called Services.

In this blog, we are going to introduce to you to the Context module, which puts the power of "If ..., then ..." into your hands.

Read more ...

| Drupal

permissionsSometimes when you're trying to modify files or folders on your Drupal site, you'll be faced with error messages that will look like this:

"553 Can't open that file: permission denied"

One of our students wanted to know why they were getting this message about being denied.

What are permissions and how can you fix this problem? Read on ...

Read more ...

| Drupal

One of our students was setting up a photo gallery and asked:

"I was wondering what module you think would best enable my site members to upload multiple photographs at once."

There are several ways to do this with Drupal. We're going to show you one option that uses a script called Plupload.

Read more ...

| Drupal

Node Option Premium is a module for people who want to encourage visitors to register on their site.

Node Option Premium lets you show a content teaser to the public but show the full content only to people who are logged in and have a certain role. This is typical of the strategy used by many newspapers and magazines with their paywall.

In this tutorial, we'll demonstrate how to use this simple, yet effective module.

Read more ...

| Drupal

drupal errorsHave you ever seen an error on your Drupal site that says:

"The website encountered an unexpected error. Please try again later."

There are over 700 people who have reported the same problem on the Drupal.org forums.

If you have this error or similar errors and are thinking, "OMG! Now what?", then hang tight.

We're here to help with this tutorial. We'll show you how to diagnose and solve errors that appear on your Drupal site.

Read more ...

| Drupal

Drupal's core forum module has been around for a long, long time. It was first introduced back into Drupal 3 in 2001!

The forum module is fairly basic but it has proven reliable enough to handle some large sites such as http://drupal.org/forum. However, the module does lack many of the more advanced features that you'd expect to see in today's forums such as VBulletin and phpBB. 

If you want a more powerful forum in your Drupal site, we recommend Advanced Forum. The Advanced Forum module has many of the same features as VBulletin and phpBB, but it's also tightly integrated into Drupal.

In this tutorial, we'll show you through how to install, configure and use Advanced Forum.

Read more ...

| Drupal

icon-d8-100Over the last few months, we've been covering the Drupal community's progress towards releasing Drupal 8.

Our last update was a month ago. I explained that the core file structure had changed, plus there were over 15 new modules including Views.

Since that update, the first major deadline has arrived. Feature freeze was in the beginning of December, although that deadline slipped a little, and we can still expect new features until February.

However, lots of great new features have arrived in the last month, and so let's take another look at the state of Drupal 8.

Read more ...

| Drupal

In this blog post we're going to introduce you to Drupal entities and how they make site building easier.

In Drupal 6, there was a big difference between how Drupal handled different types of content. Nodes, comments, terms and users were all technically "content", but Drupal treated them all differently.

What happened with Drupal 7 is that we started to treat nodes, comments, terms and users in the same way. No longer was there a big difference between them.

Each individual node, user, term and comment is now called an entity.

Nodes, comments, terms and users are now called entity types. The image below from Heather James on Drupal.org shows some "entity types" in Drupal 7

| Drupal

Sometimes in Drupal there are many solutions to a problem.

One such problem is controlling who can see which content on your site.

Although Drupal comes with 5 permissions for content, none of them deal with access. Here are the 5 default permissions:

| Drupal

In another tutorial this week, we talked about a major hole in Drupal's permissions system.

The hole is that Drupal allows you to control who can create, edit and delete content but not who can view it.

Because this problem impacts a lot of sites, there are a lot of available solutions. In that other tutorial, we recommended the Content Access module. In this tutorial, we're going to recommend the Taxonomy Access Control module.

What's the difference?

Read more ...

| Drupal

icon-d8-100Over the last few months, we've been covering the Drupal community's progress towards releasing Drupal 8.

Now that the first major deadline is only a week away, it's time to provide another update.

What's the state of Drupal 8?

Read more ...

| Drupal

We've had a few members start to test Drupal 8 and several ran into a problem during the installation.

Basically their hosting service is out-of-date or incorrectly set up. During the installation they get an error message saying that something called "Magic Quotes" isn't supported.

Here's an explanation of that problem and how you can fix it.

Read more ...

| Drupal

It's fairly common to replace the title field in Drupal.

There are many possible reasons to replace the title, but most of them come down to this ... the title field is not very flexible.

To take just one example, imagine that you're adding a directory of your staff members to your site. Presumably, you'd like the person's name to be the title of each page. However, because the title field only consists of a text field with 255 characters, you can't have close control over what people enter. The solution is to replace the default title with specific "First Name" and "Last Name" fields.

So, here's how to automatically generate titles in Drupal 7.

Read more ...

| Drupal

media_1351720011109.pngMost of us are used to having a spellchecker when we type. If we use Microsoft Word, Google Docs and most other writing tools, you're used to seeing a red line under your spelling mistakes.

If you'd like to add a similar spellchecker to your Drupal WYSIWYG editor, here's how to do it ...

Read more ...

| Drupal

advert-full-class

Views Slideshow is the most popular module for creating slideshows in Drupal.

Earlier this year we showed you how to use Views Slideshow to create a basic slideshow.

One of our students read that tutorial and wondered about taking things further. They wanted to create a slideshow with smaller thumbnails, similar to the one you see on WhiteHouse.gov, Grammy.com and many other Drupal sites. In this tutorial, we show you how to create a more advanced slideshow, similar to those famous sites.

media_1351621668227.png

Read more ...

| Drupal

It's happened to all of us who use Drupal. We've installed a new theme or module and our beautiful homepage now looks like this:

tutuploadsmedia_1349380547739.png

Here are ways you can try to solve this problem and get your site back online.

Read more ...

| Drupal

Aggregator is a key part of Drupal that is often ignored.

I blame it on the confusing name. No, Aggregator is not an animal in Florida that eats people. Aggregator is a module that imports content from RSS feeds into Drupal.

Because it has a name starting with "A", Aggregator is the first module that people ever see on the Modules page. In this tutorial, we're going to show you what Aggregator does and how to use it.

Read more ...

| Drupal

weatherOne of our students is building a local tourism website. They wanted to show the local weather on the site but without any of the big, ugly branding that often accompanies weather displays.

In this tutorial, we'll show you how to use the Weather module to create a local weather block.

Read more ...

| Drupal

google mapOur Drupal students frequently want to add a map to their content. In this tutorial we're going to show you how.

We'll take the example of a Yellow Pages-style directory and show you how to display a Google Map beside each business listing.

Read more ...

| Drupal

Where do you go when you're in the market for a great Drupal theme?

There are over 1000 free themes on Drupal.org, but that is not the only option. There are companies who sell themes. For prices ranging from $50 to $500 you can expect more complete, polished designs and support staff ready to answer your questions.

Here are 10 of the best commercial Drupal theme companies.

Read more ...

| Drupal

Spark DrupalOver the last few months some of the most talented people in Drupal have been working on usability improvements.

Their project is called Spark. Initially their improvements are being released for Drupal 7 and the hope is that they will later be moved to Drupal 8. We mentioned Spark in our summary of Drupal 8. You can also find more background in Dries's launch post for Spark.

The first Alpha release of Spark has just been released, so we decided to take it for a test drive. Come with us and see where Drupal usability is headed.

Read more ...

| Drupal

Do you work with clumsy people? Are you a clumsy person yourself? If so, then Revisions might be the solution for you.

Revisions is a quick and easy way to save a copy of every Drupal content item when you make a change. In reality, Revisions is not only useful for clumsy people but also for organizations that have a lot of content creators and for many government agencies who have record keeping rules to follow.

In this tutorial, we'll give you an introduction to the core Revisions features and then show you some useful extra modules. 

If you want to learn about revisions in WordPress, check out the WordPress revisions guide.

Read more ...

| Drupal

Six months ago we said that "Drupal 8 is underway with lots of great ideas and initiatives."

Now it's time for an update. Where does Drupal 8 stand today?

Drupal 8 in a Nutshell

  • When is Drupal 8 being released? Not until August 2013.
  • What's great about Drupal 8? Possibly everything. This is probably the most ambitious CMS launch I've ever seen.
  • Who is Drupal 8 for? To begin with, it is for developers and early adopters only. Drupal 7 took around 18 months to become more popular then Drupal 6. Most Drupal users might not be on 8 until 2015.
  • Will upgrading be easy? Unlikely. It will probably be similar to the difficult move from Drupal 5 to 6 or from Drupal 6 to 7.
  • I am on Drupal 5, 6 or 7. What do I do?
    • Drupal 5 users should probably migrate to Drupal 7 now.
    • Drupal 6 users have more time because 6 will be supported at least until 8 is released.
    • Drupal 7 users are in the best situation because 7 will likely be supported for four or five more years.

Read more ...

| Drupal

DrushDrush is a great tool for quickly managing routine tasks with a Drupal installation.

Drush allows you to search the drupal.org site, install Drupal, install modules, enable modules and much more.

This is going to be a tutorial aimed at Drush beginners. We'll explain how to install Drush, how to use it and how to perform some common tasks.

Read more ...

| Drupal

Page Title is a very simple, yet very important module when it comes to SEO on your Drupal site. This module gives you granular control over your meta titles.

Although Nodewords was the preferred option in Drupal 6, it didn't make the leap to Drupal 7 became the Meta Tags module in Drupal 7. The Page Title module is one of the options now available for Drupal 7.

The meta title is found in your HTML head code and is surrounded by <title> tags. The meta title appears in the browser bar when people are viewing the page. It also appears on SERPs (Search Engine Result Pages), and a well written title can greatly increase the number of people who click through to your site.

Read more ...

| Drupal

One of our students is using Drupal's Webform module for their site's contact form.

They asked if it was possible to send submissions to different e-mail addresses based on a choice made in the form. The student wanted to send different submissions to different departments in the company.

Yes, it is possible and we're going to show you how.

Before we start, here are two useful links:

| Drupal

It happens to all of us ... we lose our password.

Actually recovering your original password in Drupal 7 is not possible, but resetting one is possible and we're going to show you how to do it.

Your first step should be to try and reset your password by adding this to your site's URL: /user/password/. If that doesn't work or if you don't know the email for the account, then you can use this tutorial.

Read more ...

| Drupal

One of the most common complaints we get from newcomers to Drupal is that easy, good-looking themes are hard to find.

There are themes which are easy to use, but typically these are not easy on the eye. There are also beautiful, but complicated theme frameworks.

So, to help our students, we've found 10 Drupal themes that meet these criteria:

| Drupal

TinyMCEIf you have TinyMCE installed on your Drupal site, you have all you need to upload and play audio and video files. 

The Media module is a good option for sites with more advanced audio and video needs, but if your needs are straightforward, then TinyMCE will work for you.

In this tutorial, we're going to show you how to upload and display an .mp3 audio file and a .swf video file inside Drupal content.

Read more ...

Page 13 of 17
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!