Hey Guys,
I was thinking of playing around with creating some modules.
My question is, how do I get around testing the installation of the module. That is, after i've installed my module and made some changes, how do i uninstall it to be able to install it again to see my changes & run tests.
Thanks
Posts: 328
Make sure to deactivate the module in the Site Admin module's view. Then you can just rise the version number in your module.inc ($this->setVersion(....)) and you can install the module again in Site Admin. This will call your "install" method again.
Most stuff is done in the "activate" method though, so you normally don't need to uninstall and re-install a module that you are testing. Simply deactivate and activate again.
Posts: 7994
What kind of module are you working on?
Posts: 15
I was thinking of hacking a few together for experience initially
- easy captionator (so i can caption ~10 images without making 3-4 clicks per image)
- easy rotator (mass rotating, instead of 3-4 clicks per image)
- mms photo acceptance
- automatic windows xp album importer
- photo emailer (send friend's photos)
and on another note: maybe prototype WAP browsing capability for my nokia 3350! mmm!!!
Posts: 7994
Those all sound like great module ideas! Let us know how it goes...