How to create Drupal Commerce products programmatically
Sometimes you just need to get your hands dirty and start adding Drupal Commerce products programmatically. Luckily that is not that hard of an thing to do.
Sometimes you just need to get your hands dirty and start adding Drupal Commerce products programmatically. Luckily that is not that hard of an thing to do.
Drupal has a block called "Language Switcher", which displays links to different language versions of the current page/node. If the node does not have translated version on the specified language, the block will not display a link for it. This can cause some confusion, since the user always expects to see links to all of the site's languages.
This can be fixed by modifying the block so that the all of the links link to the corresponding language's frontpage. It is easy to do by editing the site's theme.
From time to time, there might arise a situation where you want to password protect your Drupal site. Maybe the site is under development, or you just want it to be available to a selection of users.
This is usually done with something called "HTTP Basic Auth", which allows you to password protect a site. This can be done in Apache by modifying the .htaccess file.
There are some great tutorials on how to do this, but this is not the correct way of doing it for couple of reasons.
It has happened to all of us. You mistakenly remove a module directory or migrate your site and forget to include some necessary modules. This causes your Drupal site only to show the WSOD and perhaps the following error:
One of the first things I usually need to do when installing a new Drupal site, is to change the settings in the new (version>4) CKEditor so that I can type classes and ids and not have them strip out.
Let's face it, everybody and their mother are using Facebook nowadays. So having Facebook Connect as an login option would be really beneficial on your Drupal site.
It's that time of the month again! October has been pretty quiet, I have to admit, but at least we got some free themes out of it!
September is gone (sorry for bit late article!) and the free themes are here. Plenty of base themes have been released, but they are not showcased on this series. This series is all about free themes.
One of the most important part of a CMS is the content editor. In this tutorial, we will show to setup CKEditor for this task and IMCE for handling file uploads.
Autum is looming and it is time to wrap up some themes!