Jump to content
  • 0

Blesta does not detect the custom module that I develop, how can I solve this?


Question

Posted

 

I am learning to develop in blesta. I want to learn how to make custom modules and plugins. Following the structures of other modules and develop a small module that contains a form, i added the modules's folder here: /components/modules/ 

 

The structure of the module

image.png.ff6957e5e80eec53d9f9631f9e2141ba.png

The configuration in the config.json file

 

{
    "version""1.9.0",
    "name""ModuleTest.name",
    "description""ModuleTest.description",
    "authors": [
        {
            "name""Data.",
            "url""http://www.blesta.com"
        }
    ],
    "module": {
        "row""ModuleTest.module_row",
        "rows""ModuleTest.module_row_plural",
        "row_key""name"
    },
    "email_tags": {
        "module": ["*"],
        "package": ["*"],
        "service": ["*"]
    }
}

 

I extend the Module class in the main controller

image.png.9a573849ed943379e867e6f83d9e3077.png

The module list does not appear in the installed or available section

image.png.0037bf34cdc0be523b6702cbdfde7c98.png

How can I make blesta detect the module I created?

 

 

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...