Forums / Developer / Writing new modules / Comment38072

Author Topic

Sven Ryen

Thursday 12 June 2003 7:48:32 am

Comment38072

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