Jump to content
  • 0

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


felipe.rivero

Question

 

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?

 

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...