Drupal Blog

Drupal Magcat Module
Last edited on: 03/02/2013 - 12:24

Welcome to the home page of the Magcat Drupal 6 Module - an add-on to my Bookcat Drupal 6 Module. Magcat is aimed primarily at those with magazine collections; out of the box, FNProgramvare's Bookcat does not lend itself to magazine collections, but by using the available custom fields, and by creating some new template pages in my Magcat module, it is a perfect fit! Laughing out loud

»   Read more
Drupal 6 Magcat module: Alpha2 Release Notification
Last edited on: 03/02/2013 - 12:23

My magcat module for cataloguing magazines, which compliments my bookcat module (which is a dependency) has been promoted to alpha 2. To get the best use of the module you will need a copy of the MS Windows FNProgramvare's BookCAT product and create your MS Access databases there before importing into MySQL.

Follow the link above to download the latest version.

»   Read more
Configuration for openSUSE 12.1, Drupal and Nginx
Last edited on: 24/12/2012 - 14:07

This tutorial is intended for those planning on removing Apache as their Drupal web server, and replacing it with the high performance NGINX product (pronounced Engine-X) on an openSUSE 12.1 platform. Note, this is using Nginx as the web server itself, and not as a reverse proxy as it is often used. Firstly, there is a need to install Nginx and PHP-FPM (the PHP FastCGI Process Manager).

Nginx is part of the openSUSE 12.1 distribution, but is not installed by default. The simplest way of installation is to go through the YaST software management screens.

»   Read more
Drupal 7 - Form in a Block With Template File
Last edited on: 24/10/2012 - 16:00

I have been coming up against the same Drupal 7 requirement over and over recently - the need to have a form in a block with a separate template file I can pass over to the front-end guy to weave his magic. This is one of my easiest ever tutorials, and is really only here as an aide memoire for when I can't quite remember the exact syntax in say hook_theme or I can't remember which rendering functions I call in the template.

»   Read more
Drupal 6: Country Field Select List on Registration Setting Default by IP Address Detection
Last edited on: 17/07/2012 - 15:36

Another powerful feature of Drupal is the ability to customise the user registration process by adding fields. These fields can be anything, but a worthwhile example would be address information with a country field select list the user can select their country from. Even better would be the ability for the system to detect the user's country and default the select list to that. That is what this tutorial sets out to achieve. It can't be accomplished purely by 'site building' with existing contributed modules - there is a small amount of custom PHP code required.

»   Read more
Drupal 6: Set Default Value in CCK Select List Widget Using PHP
Last edited on: 15/07/2012 - 19:02

When a select list widget is created in a field using CCK in Drupal 6, it is possible to manually set a default value as one of the form fields (see below). However, it may not always be preferable to do this, and on occasion there may be a desire to achieve this dynamically with some PHP code. A good example of such circumstances would be a country select field which defaults to the country the user is viewing the website from - this itself could be discovered using an IP address look-up.

»   Read more
Drupal 6: Silverpop XML API Module
Last edited on: 09/07/2012 - 14:48

This module integrates Drupal with the Silverpop Engaging Marketing Solutions XML API. So what does it do? On its own, actually very little. It is only of use to developers wishing to write code to interrogate the Silverpop back-end. This module provides the handshaking mechanism between a developer's code and Silverpop. There are currently two published and documented Silverpop APIs, viz SOAP API and XML API. This module has been built to use the XML API.

»   Read more
Drupal 6: Silverpop AddRecipient Module
Last edited on: 09/07/2012 - 14:46

This module (which requires the Silverpop XML API module to be installed) provides the facility to add recipients to a Silverpop database. By default this is through a 'Subscribe now' block or node, both of which can be themed. In addition, there is functionality to delete a recipient from a Silverpop database. User permissions (for the nodes) and block permissions (for the blocks) can control the visibility of the forms.

Installation

»   Read more
Drupal 6: Webform + Paypal Donations Integration
Last edited on: 07/07/2012 - 14:35

This module provides integration between the Drupal Webform module and Paypal donation buttons. This includes the facility to receive payment status responses from Paypal and record these in the webforms as a hidden field for audit / inspection later to ascertain whether payments were successful or refused. The module should be useful for charities and NGOs as a mechanism to collect donations from their followers.

»   Read more
Drupal 6: user_badges_taxonomy Module
Last edited on: 15/01/2012 - 23:23

The motivation for this module came from a shortcoming of the functionality of the user_badges module and the thread http://drupal.org/node/1144296 questioning the usage of the vocabulary feature in the user_badges module. It appears that this enables the assignment of badges to users for arbitrary achievements. For instance, a client of mine is a political campaigning organisation and it would be cool to assign badges to those activists who attend campaigns.

»   Read more
Syndicate content