-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Request: Admin on|off switch pref #11
Comments
rah_flat doesn't support plugin cache directory and you still need to install it normally to get it working; the plugin uses installation events and relays plugin load order. The plugin cache directory itself is limited, and isn't really meant for production, but for plugin development. If the plugin is installed through normal supported means, or using Composer package manager (which runs plugins as normal files too), you can disable the plugin from the Plugins panel. That's also the correct way of disabling the plugin added features as it removes the added resource load (no code will need to be executed). Adding such additional option on the other hand will still need to load the plugin and execute code, and indirectly recommends using the wrong means. If you want to disable the plugin when run through plugin cache directory (which I do not recommend and can't support, because of its limitations), I recommend you to use symbolic links. Have a 'plugins_available' directory, and site specific 'site1/plugins_enabled' directories that links to those available plugins. To get rah_flat running in plugin cache directory, you must first install the plugin normally, then delete its row from txp_plugins database table, and add the plugin to a the plugin cache directory that must not be located within publicly accessible document root. Having the plugin's source file in publicly accessible location may lead into some unexpected security issues. If you are using some sort of management plugin for the plugin cache directory, you may want to recommend feature addition there. |
You can also disable the plugin's importing features by either:
|
While this is true, the latest version has the ability to trigger these On 5/16/14, 6:18 AM, Jukka Svahn wrote:
Gotta say this plugin is amazing, It makes building 900% faster. Abut |
I would like to run this plugin through plugin composer as a php file as I do with my other plugins. This way I can have sets that span multiple sites. As you know running plugins through the cache folder makes them "always on". I'd like an option in prefs to disable import from files so I don't have to load this plugin for every site.
can haz?
The text was updated successfully, but these errors were encountered: