PDA


View Full Version : Some ideas for the 2.0.1 release


KW802
11-29-2005, 06:11 PM
Lately I've been playing around with exporting & importing modules...

Suggestion: Add new option to allow the PHP file(s) to be overwritten. This is useful for when a module is updated (bug fixes, new features, etc.). The functionality already exists to prompt if the template should be overwritten but not the PHP file(s).

Suggestion: Add new option to change the identifier. The scenario that presented itself is as follows.... I had an old 1.x module that was retained when I upgraded to 2.x and it continued working fine. I then exported that module for other people to use but when they attempted to upload the module to their own site they got an error that the module identifier (blank) was already on file and prompted them for a new one. I didn't see a way through the module interface of how to change the indentifier of an existing module so I ended up removing the module from my site, uploading the .module file, giving it an indentifier at the time of the upload, and then re-downloading the module for others to use.

Error: The phrases 'adv_portal_choose_style' and 'adv_portal_invalid_modfile' are both missing. The first phrase is used if you don't specify a style during the .module file upload and the second is used when the .module file is bad.