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

eliacim.davila17971
eliacim.davila17971

Hi.

I just installed October CMS, and I have so many questions. But one of them is, I want to modify some things in backend, and so I think the files are in modules/cms and modules/backend. So, my question is, can I modify this files directly? Or is there a better practice for these case? Perhaps a way overwriting functionality without touch the original files?

Thanks.

jan-vince
jan-vince

You should use Plugins and Themes wherever possible!

Any changes to system files can be lost with an update.

eliacim.davila17971
eliacim.davila17971

Janek said:

You should use Plugins and Themes wherever possible!

Any changes to system files can be lost with an update.

Ok. So, if I create a custom Plugin, is there some way to override one (or more) files in modules/cms or modules/backend?

OFFLINE
OFFLINE

What exactly are you trying to change?

Overwriting css is easy. For other features there are many hooks you can use to modify the behaviour.

Completely overwriting files in modules/backend is (while possible) not encouraged since every future update will revert your changes. You would have to completely freeze your installation.

Last updated

eliacim.davila17971
eliacim.davila17971

OFFLINE said:

What exactly are you trying to change?

Overwriting css is easy. For other features there are many hooks you can use to modify the behaviour.

Completely overwriting files in modules/backend is (while possible) not encouraged since every future update will revert your changes. You would have to completely freeze your installation.

Exactly, I want to change backend design, some colors, remove some buttons and add some new custom options, and hide others. For example, I want that users can modify Pages but not add new one.

Crazymodder
Crazymodder

That sounds like you want to assign permissions for an user. Please check this option first.

1-6 of 6

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