Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Extensions tab disapper when using the Plugins tab
if I go to the Plugins tab by using index.php?event=plugin the Extensions tab disappear.
Offline
Re: Extensions tab disapper when using the Plugins tab
That’s intentional. When you’re on the plugins tab, no plugins are loaded to avoid plugins from interfering with the plugins tab itself. That way you can always disable a malfunctioning plugin.
Offline
Re: Extensions tab disapper when using the Plugins tab
ruud wrote:
That’s intentional. When you’re on the plugins tab, no plugins are loaded to avoid plugins from interfering with the plugins tab itself. That way you can always disable a malfunctioning plugin.
Not sure that I fully understand. What would be the problem of always having a link to “index.php?event=pluginstall” ?
Offline
Re: Extensions tab disapper when using the Plugins tab
THere is no general “Extensionstab” – it only exists if a plugin registers it. And the link usually leads to the first plugin. To be able to know whether a plugin registers a tab under extensions we would have to load it (or create a half-assed parser to check specifically for that).
The other alternative is to make the plugin-format more complicated, and pull the registration of tabs out of the php-code, and add it to the meta-data of the plugin – and I don’t think the benefit is high enough to justify the additional complexity.
I am open to other suggestions.
Offline
Re: Extensions tab disapper when using the Plugins tab
Suppose you install a plugin that completely messes up the TXP private side, so you want to remove it. You can visit the plugins tab directly, by entering the url …textpattern/index.php?event=plugin (or something like that) manually. Since no plugins are loaded when you’re on that tab, they can’t mess things up, so you can remove the offending plugin without it standing in the way. Not loading plugins causes the extensions tab to disappear, because only plugins add tabs there.
Offline