You are heredrupal

drupal


Valigrunt chrysler mopar site is up!

By dgtlmoon - Posted on 02 January 2009

Just put the new valigrunt mopar chrysler website up

Written with drupal-5 and based on the nonzero theme, combined with views, panels and jlightbox it's a very slick interface! check it out!

Speeding up Drupal 5.x on Dreamhost, slow no more!

By dgtlmoon - Posted on 05 November 2008

I'm sure you all love Drupal however there are a couple of design decisions that are less than ideal in all circumstances.

One of them is the path alias handling, you know - the stuff that lets you have a page accessible via mysite.com/fruit/bananas instead of mysite.com/node/1234

drupal 5.11 to drupal 5.12 update patch

By dgtlmoon - Posted on 02 November 2008

See attached, might save you a minute or two Apply with


dgtlmoon@nine:~/drupal-5$ lynx -source http://dgtlmoon.com/files/drupal-5.11-to-5.12.patch|patch -p1
patching file CHANGELOG.txt
patching file includes/bootstrap.inc
patching file modules/aggregator/aggregator.info
patching file modules/block/block.info
patching file modules/blog/blog.info
patching file modules/blogapi/blogapi.info
patching file modules/book/book.info
patching file modules/color/color.info
patching file modules/comment/comment.info
patching file modules/contact/contact.info
patching file modules/

Drupal python background server

By dgtlmoon - Posted on 17 July 2008

Heres some code attached I wrote last year but havent published it on drupal.org just yet, it's my python background server for drupal actions, or put simply "Asynchronous python daemon for Drupal interaction"

Just perfect for managing actions that require long, cpu or filesystem intensive operations such as encrypting, building a file, or even interfacing with other hardware/usb/bluetooth etc etc

This is born out of the need to have a

New drupal module: simplenews schedular ( reoccuring newsletters )

By dgtlmoon - Posted on 03 June 2008

A simple but effective drupal newsletter module

Simplenews scheduler sends a newsletter as a re-occurring item based on a schedule.

Simplenews scheduler does so by creating a new "edition" (rendered copy) of a node at the time that it required to be sent again, the original newsletter is never sent but all editions are according to a pre-defined schedule, this is triggered via hook_cron

Drupal bash script to show difference between your theme function override and the original

By dgtlmoon - Posted on 18 March 2008

Heres a handy script I wrote this morning, how do you easily see the differences between your mytheme_function override template.php entries and the original theme_function in the sites/all/modules, modules/, includes/ ?

It's bash to the rescue.

This script builds an index file of known themed functions, extracts your existing declared function and the theme_function from the original and your template file then uses 'diff' to show the difference in side-by-side format! awesome

Cheap and easy Drupal MySQL query log analyses and profiling

By dgtlmoon - Posted on 06 February 2008

One thing that will definately improve in Drupal 6.x and onwards is the performance relating to database queries, It is not uncommon for a site which has the usual formula of a few views generated blocks, translation module and a couple of other miscellaneous views entries to suddenly push your site into the 200 to 600 database queries just to generate *one page*.

Fortunately Drupal is continously improving with its caching methods and data abastraction models so it doesnt always have to hit the DB for something simple, or get it to return multiple items in one hit, but i digress.

An Upgrade to the Moveable Type (MT) / Typepad drupal import module

By dgtlmoon - Posted on 26 October 2007

Just finished a fair upgrade of Drupal's import typepad (MT etc) module, you will need my patch from this page and apply it to existing module when you download it.

    Fixes
  • Basic CCK integration
  • Correct comment ordering
  • Correct node ordering
  • Correct node threading, updated to proper drupal setup
  • Update comment statistics

Zend Studio Debugging and Drupal on PHP 5.x

By dgtlmoon - Posted on 31 May 2007

Try these great books..

Drupal calendar views module - overriding the calendar link path (undocumented!)

By dgtlmoon - Posted on 19 April 2007

Heres a nice piece of undocumented functionality, took a few minutes of running thru the drupal Calendar views module source to figure it out. If you have a views calendar, maybe as a block, your view has the "block" type enabled and all is working great, except the dates in the calendar link to "/calendar".