Creating a new local module

[Warning]The following information will be outdated soon

In Obliquid CVS a new page to create a new local module has been added

To create a new module as a local module add a row to the module table: module(id_module, name, description, version, moddate, author, authoremail, authorsite, supportemail, copyright, license, ord, enable)

As you can see module has many fields but you can just insert id_module, name and enable for a test.

    INSERT INTO sl_module (id_module, name, is_common, enable)
    VALUES (1001, 'test', 'N', 'Y')
[Warning]Choose an Id over 1000

You have to choose an Id over 1000, because every upgrade could delete and re-insert common modules, with lower Ids.

It is strongly advised that the module name contains only lowercase a-z letters plus the underscore. Pages for the modules will be stored in local/pages/test directory and templates in local/templates/test directory.