Forums / Developer / Writing new modules / Comment38072
Sven Ryen
Thursday 12 June 2003 7:48:32 am
FWIW, I think the reccomended way of adding a module is to add an entry to either ModuleRepositories[] or ExtensionRepositories[] under [ModuleSettings] in module.ini.append.
Then, place your modules in the folder you add to ModuleRepositories[] or in a "modules/" subfolder inside the folder you add to ExtensionRepositories[].
So, if you need to add a module named "bar", you could add the file: /foo/modules/bar/module.php and add "ExtensionRepositories[]=foo" to the file /settings/override/modules.ini.append