File Structure
In general there are two main types of folder structure for Modules, though within that, there will be variation on the types of file available, so check each individual module.
The form directory stores the form layout for Module create/ edit Forms.
Siteglide Published Modules
Most Siteglide published Modules will have a folder structure a little like this:
marketplace_builder/
âââ views/
âââ partials/
âââ layouts/
âââ modules/
âââ module_3/
âââ example_layout_name/
| âââ list/
| | |ââ wrapper.liquid
| | âââ item.liquid
| âââ detail/
| |ââ wrapper.liquid
| âââ item.liquid
âââ form/
âââ example_layout_name.liquid
Newer Siteglide Published Modules & Marketplace Modules
modules/
âââ example_module_id/
âââ private/
âââ public/
âââ views/
âââ partials/
âââ layouts/
âââ modules/
âââ module_3/
âââ example_layout_name/
| âââ list/
| | |ââ wrapper.liquid
| | âââ item.liquid
| âââ detail/
| |ââ wrapper.liquid
| âââ item.liquid
âââ form/
âââ example_layout_name.liquid
Read more about Module Directory Structure on platformOS: https://documentation.platformos.com/developer-guide/platformos-workflow/directory-structure#modules
Last updated
Was this helpful?