There were conflicts with an extension which uses the same css class as the other extension of mine
Then I would have thought that seeing as they are both your extensions that you could use different classes.
Yes - see my Disable All Extensions extension for how to do it - but you will also have to ensure that when extension 2 is disabled that extension 1 is enabled. You are making far more work for yourself than is necessary and if you propose submitting these extensions to the CDB then I suspect that one, or both, will be denied.
You should indeed use other classes or make your selectors more specific (like adding the parent before the selector). Leesvoer like we say in The NetherlandsTheriddler1 wrote: ↑Wed Dec 06, 2017 3:15 pmThere were conflicts with an extension which uses the same css class as the other extension of mine
so i thought i disable the other extension in the listener with code.
also i thought about to disable the whole stylesheet link href with jquery but that don't work since the href path uses assets variable.
For now i solved it by adding !important to the css class, to overrule the other.
But still want to know (if possible) if there is a way to let an extension disable an other extension.
Users browsing this forum: No registered users and 6 guests