You are heredrupal
drupal
Valigrunt chrysler mopar site is up!
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!
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
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
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 aNew drupal module: simplenews schedular ( reoccuring newsletters )
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
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
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
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
Drupal calendar views module - overriding the calendar link path (undocumented!)
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".
