PayDutchGroup / WeDeal payment integration with Ubercart
For the Dutch but not from Holland webshop, running the Ubercart e-commerce module for Drupal, I created a payment gateway module that routes the payments to the PayDutch Group / WeDeal payment site.
This module has now been publicly released, and can be found at http://drupal.org/project/uc_paydutch or http://www.ubercart.org/contrib/11822.
Permissions Lock module released
Today I released the Permissions lock module on drupal.org. This module allows you to have better control over what users having the 'administer permissions' permission can actually configure.
By adding a lock to one or more permissions and / or user roles, you remove that permission / role from the permissions table at admin/user/permissions. Only users who are granted unrestricted access can then change these permissions anyway.
This is specifically useful when you want to give certain users (e.g. clients) access to modify the permissions on the permission table, but you don't want them to mess around with *all* permissions. For example permissions related to content types, themes, Views, etc... could be locked, so only users in roles you really trust would be able to get those permissions, and thus change the settings of these critical components of your website.
So go check out this handy module at its drupal.org project page, and let me know any bugs or problems you might encounter with it.
How to change the date year range on a Form API 'date' element
By default, the range of a date element goes from the year 1900 to 2050. In some cases, we don't want users to enter a year value in the future, so we're going to have to limit the range.
Click 'read more' to find out how to change the year range.
How to solve: Drupal 6 installation stuck at database configuration
People reported me this particular problem, and recently I experienced it myself: during the Drupal 6 installation process in the 'Database configuration' step, you might get stuck. Upon entering the right database credentials, the page reloads and shows the Database configuration form again, without any error.
After some searching around, I found what was causing this behaviour: During the installation I renamed the file /sites/default/default.settings.php to /sites/default/settings.php.
However, Drupal expects you to make a copy if this file, not rename it! So just make a copy of the default.settings.php file, and name it settings.php. When these 2 files are available, your installation should run without any problems.
After some searching around, I found what was causing this behaviour: During the installation I renamed the file /sites/default/default.settings.php to /sites/default/settings.php.
However, Drupal expects you to make a copy if this file, not rename it! So just make a copy of the default.settings.php file, and name it settings.php. When these 2 files are available, your installation should run without any problems.
Mac OS X: symbols that are not on the keyboard
Here is a list of characters I tend to use quite frequently, but that are not shown visually on my MacBook keyboard (Belgian keyboard layout).
| Character / Symbol | Keyboard shortcut | Notes |
|---|---|---|
| ~ | Alt-N | Or Fn-Backspace in terminal |
| [ | Alt-Shift-( | |
| ] | Alt-Shift-) | |
| | | Alt-Shift-L | |
| \ | Alt-Shift-/ |