For every module in Venddor IO, a specific directory structure is mandatory to ensure efficient functioning. Here's a comprehensive guide on how to organize your module's directories:
app/addons/<module_name>. This directory will house the fundamental files and sub-directories crucial for the module's operation.In Venddor IO, modules can also employ additional directories to store template files:
var/themes_repository/responsive/templates/addons/<module_name>: This path is intended for templates that are displayed in the user interface.design/backend/templates/addons/<module_name>: Templates specifically crafted for the administration panel are stored here.var/themes_repository/responsive/mail/templates/addons/<module_name>: This directory holds the email template files associated with the module.Developers have the liberty to create more subdirectories and files in this directory based on their unique requirements. However, it's crucial to maintain the naming and structural conventions parallel to the main Venddor IO application, adhering to the encryption standards.
By meticulously adhering to this structure, developers can seamlessly integrate new modules into Venddor IO, ensuring their efficient operation and interplay with the primary platform.