Database updates for Drupal CCK Fields

I recently need to create a CCK version of a previously taxonomy driven process on a node type. While at this I discovered the various things that have to be changed to make it happen. A big piece of the puzzle was the caching process from drupal. Once created, a node is cached in the cache_content table in a serialized form. If you do any changes, you need to delete the cache so the next time it's loaded (for editing or viewing) drupal rebuilds the cache.


Drupal block.tpl.php Advanced

Depending on how advanced your client wants the blocks on their site themed, the standard drupal block.tpl.php won't cut it. That's the end result for most of us of course. But in my case, I have somewhat given up on the base tpl ever working. Therefore I worked up a slightly more advanced version. It's designed to allow for highly styled borders: 4 corners, and expandable sides.

Override Drupal theme_function from another module

I wanted to change the related content output html rendered by CCK for my site today. I did a bit of googling, and all of the suggestions pointed to making new field or node specific tpl.php files. While that would work for this site, it's a terrible answer once you start considering using multiple templates. Having dealt with maintenance of what should be exactly the same file / function in different themes being out of sync, I went looking for a more permanent answer. While this might not be the Drupal specific answer, it's very efficient for what I need.

Submit Again

Add a second button to the form, make sure there is an additional submit function included:



Subscribe to RSS - Drupal