Blogs
Drupal Private File Downloads With Public Files Access Set
Mon, 08/16/2010 - 22:56 | by philipnorton42Drupal has two ways in which to allow users to download files, these are private and public.
With public the files are open for anyone to download and Drupal is not involved in the download process. This means that no statistics are recorded or permissions used when downloading the file. Each file is referenced by name.
WordCampUK 2010: A Review
Wed, 07/21/2010 - 12:38 | by philipnorton42WordCampUK is an informal 2 day conference and barcamp that centers around using, working with and developing in WordPress. This year's WordCampUK was held in Manchester and so being local I could hardly miss the opportunity to attend. It was a great event, with great talks and lots of friendly people who were really enthusiastic about WordPress.
Drupal hook_form_alter() On Node Form
Mon, 07/19/2010 - 14:27 | by philipnorton42I just spend the last few minutes looking for the solution to this so I thought that someone else might be able to benefit from it.
Calling the hook_form_alter() hook in your module using just the module name allows you to target all forms in your system, if that's the sort of thing you want to do. For a module called "My Module" this would be called mymodule_form_alter().
Custom Post Types In WordPress 3.0
Mon, 07/12/2010 - 22:10 | by philipnorton42This article relates to WordPress 3.0. Much of the code posted here won't work on previous versions and some of the information may change in newer versions.
WordPress already comes with five different content types built into the system.
Posts
This is the standard content type and is generally the most used in a blog install. Posts tend to be aggregated onto pages but this is not always the case.
PHP Version Number
Fri, 06/25/2010 - 23:55 | by philipnorton42Different functions and options are always being added to PHP. Although new versions generally don't create much backward compatibility issues it is usually prudent to write production code that you know will work on servers running a slightly older version of the language.