Newbie questions (need to reload modules)
Hi Im starting drupal module coding ( i have drupal 6 installation ) My module is pretty simple and i plan to add more funcionality over time do i need to reaload the module (deactivate/activate) whenever i add new funcionality (ex a new form) or does drupal just blindly call callbacks so just updating the .module file doas the trick. Thanks in advance!! -- No imprima este correo si no es necesario. El medio ambiente está en nuestras manos. __________________________________________ Clist UAH a.k.a Angel AT uah DOT es Angel Alvarez , Servicios Informáticos Edificio Torre de Control, Campus Externo UAH Alcalá de Henares 28806, Madrid ** ESPAÑA ** __________________________________________ Mas vale POJO en mano que STRUTS volando.
Hi as you update your module (especially when adding forms or info on hoom_menu) remember to clear your cache (either using drush - http://drupal.org/project/drush) or via the admin panel of Drupal (admin/settings/performance). You do not need to re-install your module. If you have any more questions of that are related to just starting out keep in mind that the support mailing list is the more appropriate place for that. Best, Ronald On Thu, Feb 3, 2011 at 9:33 AM, Angel Alvarez <clist@uah.es> wrote:
Hi
Im starting drupal module coding ( i have drupal 6 installation )
My module is pretty simple and i plan to add more funcionality over time
do i need to reaload the module (deactivate/activate) whenever i add new funcionality (ex a new form) or does drupal just blindly call callbacks so just updating the .module file doas the trick.
Thanks in advance!!
-- No imprima este correo si no es necesario. El medio ambiente está en nuestras manos. __________________________________________
Clist UAH a.k.a Angel AT uah DOT es
Angel Alvarez , Servicios Informáticos Edificio Torre de Control, Campus Externo UAH Alcalá de Henares 28806, Madrid ** ESPAÑA ** __________________________________________ Mas vale POJO en mano que STRUTS volando.
El Jueves, 3 de Febrero de 2011 10:05:35 Ronald Ashri escribió:
Hi
as you update your module (especially when adding forms or info on hoom_menu) remember to clear your cache (either using drush - http://drupal.org/project/drush) or via the admin panel of Drupal (admin/settings/performance). You do not need to re-install your module.
If you have any more questions of that are related to just starting out keep in mind that the support mailing list is the more appropriate place for that.
Best, Ronald
Thanks!
On Thu, Feb 3, 2011 at 9:33 AM, Angel Alvarez <clist@uah.es> wrote:
Hi
Im starting drupal module coding ( i have drupal 6 installation )
My module is pretty simple and i plan to add more funcionality over time
do i need to reaload the module (deactivate/activate) whenever i add new funcionality (ex a new form) or does drupal just blindly call callbacks so just updating the .module file doas the trick.
Thanks in advance!!
-- No imprima este correo si no es necesario. El medio ambiente está en nuestras manos. __________________________________________
Clist UAH a.k.a Angel AT uah DOT es
Angel Alvarez , Servicios Informáticos Edificio Torre de Control, Campus Externo UAH Alcalá de Henares 28806, Madrid ** ESPAÑA ** __________________________________________ Mas vale POJO en mano que STRUTS volando.
-- No imprima este correo si no es necesario. El medio ambiente está en nuestras manos. __________________________________________ Clist UAH a.k.a Angel AT uah DOT es Angel Alvarez , Servicios Informáticos Edificio Torre de Control, Campus Externo UAH Alcalá de Henares 28806, Madrid ** ESPAÑA ** __________________________________________ Mas vale POJO en mano que STRUTS volando.
No, you don't have to disable/enable or uninstall/reinstall when changing your module. There are times when you have to clear the cache - for example if you add/change an entry in hook_menu(). There are times that you need to run update.php (if you've added hook_update_N() functions). You're certainly not the first newbie to wonder about this! -Randy On Thu, Feb 3, 2011 at 1:33 AM, Angel Alvarez <clist@uah.es> wrote:
Hi
Im starting drupal module coding ( i have drupal 6 installation )
My module is pretty simple and i plan to add more funcionality over time
do i need to reaload the module (deactivate/activate) whenever i add new funcionality (ex a new form) or does drupal just blindly call callbacks so just updating the .module file doas the trick.
Thanks in advance!!
-- No imprima este correo si no es necesario. El medio ambiente está en nuestras manos. __________________________________________
Clist UAH a.k.a Angel AT uah DOT es
Angel Alvarez , Servicios Informáticos Edificio Torre de Control, Campus Externo UAH Alcalá de Henares 28806, Madrid ** ESPAÑA ** __________________________________________ Mas vale POJO en mano que STRUTS volando.
-- Randy Fay Drupal Module and Site Development randy@randyfay.com +1 970.462.7450
participants (3)
-
Angel Alvarez -
Randy Fay -
Ronald Ashri