Archive for September, 2008

21st September
2008
written by david

I recently needed to programmatically create CCK fields for a custom module.
I wanted to be able to install my module and automatically create it’s required CCK fields.
I ended up using the following code function:(…)

Click to continue reading “Programmatically create CCK fields”

21st September
2008
written by david

Recently I found myself wanting to add and remove stylesheets via template.php
I thought there must be a way to do it via the _phptemplate_variables function.
Sure enough, there is:(…)

Click to continue reading “How to add and remove stylesheets in template.php”

  • You are currently browsing the Bits and Peace blog archives for September, 2008.