โ„น๏ธModule Setup

Here we will outline the process involved in creating, building, submitting, and maintaining a Module in the following series of docs.

Prerequisites

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.

Last updated