Skip to content

Conversation

ppalex7
Copy link
Contributor

@ppalex7 ppalex7 commented Mar 1, 2014

I think it will be good to hide settings link for disabled plugins, because some plugins "runSettings" action can't work properly without overrides (from this plugin) for onBeginRequest

@ErikMinekus
Copy link
Member

You need to be able to change settings even if the plugin is disabled. It should be a simple page for basic settings. What kind of overrides do you need in onBeginRequest for the settings page?

@ppalex7
Copy link
Contributor Author

ppalex7 commented Mar 3, 2014

At onBeginRequest I importing custom models, checking and adding to database nonexistence settings.
Of course I could duplicate this code to the runSettings function, but i think it will looks strange.

@ppalex7
Copy link
Contributor Author

ppalex7 commented Mar 3, 2014

Changing the settings of disabled plugin - seems strange to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants