Tag Archives: code

Can a Drupal7 Module Use hook_update_n Instead of hook_install?

Recently I was asked if a module could use hook_update_n and not need to implement hook_install. The developer wanted to alter existing SQL tables accessible by Drupal using the Drupal …

Tags: , , , , , , , , , , , , | Posted under Drupal | Leave a comment

Drupal7 – Where Can Modules Live?

Modules can live in many places. If you use Apple’s OSX it’s a lot like where Applications and Fonts can live in OSX, or how configuration can be per-user under …

Tags: , , , , , , , | Posted under Drupal | Leave a comment

Creating MODX Manager Menu Items in Code

This article is about adding items to the MODX Manager’s Top Menu in PHP. A MODX menu item is kind of an odd thing. The modMenu object doesn’t have an …

Tags: , , , , , , , , , , , , | Posted under MODX, MODX | Leave a comment