tags:

views:

32

answers:

3

Hello, every time i make significant changes to a Drupal module (i.e. new items in menu hook or changes to theme hook) i must go to admin/build/modules and click save again othewise i cannot access the modifications i made. Do you know if there is a better way to do that?

Thanks ! Ciao c.

A: 

Altering menu items require a menu rebuild which can be triggered by going to the modules page.

You can also call functions like cache_clear_all and menu_router_build while developing.

Kevin
+1  A: 

I would suggest drush and devel + admin which provides a much quicker way to doing mundane tasks like clearing cache.

These tools can save you countless hours when developing, once you learn how to use them. Drush is very capable and also provides shortcuts to installing modules and much more.

googletorp
thank you very much !
Cris
A: 

Another useful tool to mention for precisely this problem (and general ease of getting around) is the Admin Menu. In the top left corner there's a useful and almost hidden set of options that include clearing caches - all at the same time or individually.

lazysoundsystem

related questions