Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show "Settings" link only for enabled plugins #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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