Quantcast
Channel: Developments
Viewing all articles
Browse latest Browse all 42

Drupal 6 – Set the Relative Weight of a Custom Module

$
0
0
I converted a template.tpl.php override to a module override for attachment_links recently. One of the interesting functions I had to use was hook_enable. Hook_enable is handy for setting the module weight and ensuring that my overrides run after the original module. The default module weight in the system table is 0. In this case, attachement_links [...]

Viewing all articles
Browse latest Browse all 42

Trending Articles