We have developed a custom resource type (Add an NLN material) and would like to develop an easy installation for other users. Our custom resource type requires new database tables to be created.
Which of the following approaches would be preferable:
- Include the custom resource type as a part of the resource module in mod/resource/type and write an installing script for it.
- Make the custom resource type into a module in order to use the module installing script. Then make the custom resource type appear in the "Add a resource" drop-down menu in the same way as the label does.
If 2. is the preferred approach, then any pointers to how the label
appears as a resource, rather than as an activity would be appreciated
- thanks!