This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

ab1921301764
ab1921301764

Can I modify or create own backend module/plugin? Will core CMS updates break my custom backend module/plugin? Which folders are affected by CMS updates?

Last updated

d.negativa
d.negativa

You can not worry. Simply create your plugin in the plugins folder.
For example folder structure such: plugins/YourAutorName/YourPluginName.

Last updated

brokenpixels2325
brokenpixels2325

Could we get any more information about this? Specifically, how we can style or change the layout of the backend?

Josh
Josh

You should be able to do it by extending the backend module under modules/backend via a plugin.

codivist
codivist

@Josh, how do we or where can we find documentation on how to extend other plugins and modules?

Josh
Josh

@codivist unfortunately I don't think there is, currently, any documentation on extension. However, it is the same as extending any php class or object. You would "use" or "extend" whatever component you want from another plugin or the backend. For example, use RainLab\Blog\Models\Post or class Foo extends Bar

codivist
codivist

I understand the use and extends but I'm having trouble trying to figure out when extending the rainlab\user plugin, I want to add my own fields (which I have worked out), but I also want to change the labels on existing fields. I have tried through the fields.yaml file, but that does not update the form. If you have any hints I'm all ears.

a2thek26
a2thek26

Take a look at how the RainLab.Forum plugin extends the RainLab.User plugin. You can combine Event listeners with Extending models/forms/columns.

Define the plugin you are extending:

public $require = ['RainLab.User'];

Take a look in the boot() function for the rest.

Last updated

1-8 of 8

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.