Thanks, both. I had been clearing cache, not just refreshing the page :-) but it turns out there is more than one level of caching to bust here.<br><br><div class="gmail_quote">On Tue, Jun 5, 2012 at 3:14 PM, Kayode Odeyemi <span dir="ltr"><<a href="mailto:dreyemi@gmail.com" target="_blank">dreyemi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Jun 5, 2012 at 8:08 PM, Steve Edwards <<a href="mailto:killshot91@gmail.com">killshot91@gmail.com</a>> wrote:<br>
> This hook is only fired when the menu router is rebuilt, so if you're just refreshing a page, it won't be invoked.<br>
><br>
> Steve<br>
><br>
> On Jun 5, 2012, at 12:04 PM, Jeff Greenberg wrote:<br>
><br>
>> I'm sure I've done something dumb, but I have the following in a typical custom module, in the .module file, and cannot get it to fire. Yes, I've cleared cache, and no, it's not what I *really* want to do in the hook...I just put the exit there to see it fire, since it wasn't doing anything else I asked it to.<br>
>><br>
>> /**<br>
>> * Implements hook_menu_alter()<br>
>> */<br>
>> function mymodule_menu_alter(&$items) {<br>
>> exit;<br>
>> }<br>
<br>
</div>do this:<br>
<br>
function mymodule_menu_alter(&$items) {<br>
dsm($items); // this will dump $items vars on all pages<br>
}<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Odeyemi 'Kayode O.<br>
<a href="http://ng.linkedin.com/in/kayodeodeyemi" target="_blank">http://ng.linkedin.com/in/kayodeodeyemi</a>. t: @charyorde blog:<br>
<a href="http://sinati.com/tree/java-cheat-sheet" target="_blank">http://sinati.com/tree/java-cheat-sheet</a><br>
</font></span><div class="HOEnZb"><div class="h5">--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</div></div></blockquote></div><br>