MODULES
Building Custom Modules
1. Module Setup
5min
in this documentation we will outline the process involved in creating, building, submitting, and maintaining a module in the following series of docs prerequisites know how to use cli training session #1 using cli https //www siteglide com/academy ts/training session 1 using cli know how to use github github https //github com/ your ide (integrated development environment) of choice (vscode, atom, sublime etc) introduction we will use the siteglide theme demo as an example of a pre built module which is available on the marketplace which you can install on your own staging site to view with that in mind, anywhere in this documentation where you see text wrapped in <> are placeholders for example \<module name> would be module 76 with the siteglide theme demo module (more on this later!) create your module in siteglide the first step to building your module is to create a listing for it in siteglide within your portal from the left hand menu, select “custom modules” and then click the blue “+ add new module” button in the top right hand corner next, fill in the module details form for now, you only need to provide the following basic information name the name of your module shown in the marketplace and siteglide admin version a version number following the semantic versioning standard usually this would start as 1 0 0 description small text description of what the module is appears in ? icon in ‘name’ column on the module installation page type which category you would put your module into show menu item does your module need to be within the sites menu under “modules”? for example for a theme that has no items then this would be set to no we will come back later to enter information into the remaining fields, so for now click the blue “save” button in the bottom right hand corner to save your new module your module will only be visible to yourself at this point as it is not marked as “public” and has not been approved for the marketplace vanity id now that you have created your new module, when you view it you will see that it has a “vanity id” field make a note of this number for later as it will be used within the module