This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
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
You can not worry. Simply create your plugin in the plugins folder.
For example folder structure such: plugins/YourAutorName/YourPluginName.
Last updated
Could we get any more information about this? Specifically, how we can style or change the layout of the backend?
You should be able to do it by extending the backend module under modules/backend via a plugin.
@Josh, how do we or where can we find documentation on how to extend other plugins and modules?
@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
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.
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