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

Allow plugins to be enabled, but not active yet #1804

Closed
robocoder opened this issue Nov 5, 2010 · 1 comment
Closed

Allow plugins to be enabled, but not active yet #1804

robocoder opened this issue Nov 5, 2010 · 1 comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone

Comments

@robocoder
Copy link
Contributor

From kamerman's comment:5 of #1552:

Last minute idea - I'm developing a plugin that won't work unless its settings are properly configured. Maybe there is a good way to send a user to the plugin's admin page when they attempt to activate it and only commit the activation if the plugin settings are configured successfully. A framework for this type of activity may be helpful for other plugins that require some settings to function properly. Many examples can be found in WordPress.

For more complex/involved configurations, plugins should continue to use Piwik_AddAdminMenu().

For lightweight configurations, we could add a "setup" icon that opens a popup dialog, or use an accordian widget to expand the settings inline. (Examples: Trac and Hudson)

@mattab
Copy link
Member

mattab commented Nov 24, 2010

Unless I'm mistaken, I think that the current plugin design can accomodate this. For example, until your plugin is configured (settings), you would just return false in the hooks that won't work unless the plugin was configured.

I don't think we want to allow redirecting users to the settings page after enabling the plugin as this would be confusing.

Maybe a generic solution would be, like wordpress, to add a 'messaging' system where plugins could write yellow messages at the top of the screen (notification messages).

@robocoder robocoder added this to the Piwik 1.1.1 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants