Developer

Login to Download Files in Drupal

A commonly encounter requirement in website development is to provide file downloads for users, but only after they logged in. This feature can be easily implemented in a Drupal website.

1 - Configure Drupal for Private Download

The first thing we need to do is to configure the Drupal core for private download, so that visitors that are not logged-in cannot access the attached files. Simply go to Administer -> Site Configuration -> File System, and set the file system path to somewhere outside of your webroot. You can do this by...

jQuery Keypad Plugin

 

Recently I have been desigining the web control interface of a WinCE based embedded system for a client. Because the device uses a small QVGA display, and doesn't have a physical keyboard, one of the requirements was to provide a virtual keypad within the web interface. Because of this I came to discover a virtual keypad plugin for the jQuery JavaScript Library, and found it quite handy. The following is a demonstration of this plugin.

The jQuery Keypad Plugin was created by an Australian called Keith Wood. The official...

Flash ActionScript 3.0 Basics - URL Button

This tutorial is created using Adobe Flash CS4.  Trial downloads of the Flash platform are available from the Adobe website at http://www.adobe.com/downloads/.

1) Create an empty flash document by clicking File->New.  Then click on the Templates tab and select 300 x 250 - Medium Rectangle.  The Medium Rectangle is a commonly used size for internet advertising.

2) Notice by default there is one layer created in the timeline, with one...