1

I have written a component and it installs fine except that the plugins are all installing as enabled.

What I want to do is enable some and disable others. Here is what I have tried:

<plugins folder="plugins">
    <plugin name="com_softmedia" group="xmap" enable="true" />
    <plugin name="softmedia" group="search" enable="true" />
    <plugin name="softmedia" group="finder" enable="true" />
    <plugin name="paypal" group="softmedia" enable="false" />
    <plugin name="skrill" group="softmedia" enable="false" />
    <plugin name="2checkout" group="softmedia" enable="false" />
    <plugin name="stripe" group="softmedia" enable="false" />
    <plugin name="quickpay" group="softmedia" enable="false" />
    <plugin name="addthis" group="softmedia" enable="false" />
    <plugin name="joomla" group="softmedia" enable="true" />
    <plugin name="liketodownload" group="softmedia" enable="false" />
    <plugin name="euvat" group="softmedia" enable="false" />
    <plugin name="dlejproducts_update_helper" group="system" enable="true" />
</plugins>

I have seen this done as "enable and activate", but neither of these will work for me.

1
  • In the Stack Exchange Network, we never "resolve" a question by editing the question. If/When you self-solve, the appropriate way to resolve the page is to post an answer to your own question. Please rollback your edit -- you'll get a badge for doing this :) -- then post your resolving advice as answer with the intent to educate future researchers. If there are any supporting documentations that you can link to, please add that to your answer. Please always be generous.
    – mickmackusa
    May 27 at 2:20
2

In order for this to work properly you would use enable="true" to enable the plugin and disable="true" to disable the plugin.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.