D6

16
Jan

Theming blocks in Drupal 6, templates and preprocess functions

zero dev's picture

Background reading

http://www.nicklewis.org/drupal-hackers-cookbook/theming/hook_theme-and-...

Nicks excellent run through is a little bit confusing when it comes to working out whether you're using the verbose or preprocess methods. This walk through is going to use just the preprocess method. We'll create a very simple module that provides a simple login block, or if logged in, a few links through to account, account edit and log out.

28
Feb

Speeding up the Drupal batch api

zero dev's picture

(Note - this turns out to be about command line PHP rather than the Batch API)

We were looking at a problem. How to convert 350,000 user profiles, built using the core Drupal Profile module into a tidier single table using a custom module solution?

19
Dec

Making Drupal cheap

zero dev's picture
Tags: 

I read with interest an article in the register many months ago regarding the cost of government websites, where the conclusion was

What's the lesson? The licensing model of the underlying technology isn't a significant factor in determining website costs. Free and Open Source Software won't matter when a consultancy or outsourcing company loads up a contract with tasks requiring many person weeks of expensive billable time.

Which made me think again about how Drupal can be made cheap.

18
Nov

Admin links dissapear on custom content

zero dev's picture

This is an ugly little hack to get around the fact that those lovely neat Admin module links disappear when you don't print $content in your tpl files. The other method would be to use something like contemplate, or panels to avoid the problem completly.

ok, here is the hack. 1. create a module admin_links:

Subscribe to RSS - D6