User tests: Successful: Unsuccessful:
Ran into a case where other plugins where causing problems in prepareContent. In order to work around this, I had to duplicate the entire prepareContent method in my plugin in order to change the list of excluded plugins. As a proposed solution, I've moved the $conflicts array to the parameters for prepareContent. If not given, it defaults to what it was before, if given it overrides it and allows different plugins to be excluded.
This code should actually be removed. The $_observers
array in JDispatcher is protected and unable to be accessed from the indexer helper.
The best practice is for plugins to check for the com_finder.indexer
context. Otherwise, there really isn't anything that can be done within the indexer's code.
"Please make a tracker on joomlacode and add reference here." - no. :-)
Sorry, I lack the time to learn how to navigate yet another system. I'll offer the change for those who decide they want it. Beyond that though I lack time.
' The $_observers array in JDispatcher is protected and unable to be accessed from the indexer helper.'... hmm, it worked for me. I must have subclassed the JDispatcher class in order to get around that.. ugly hack... I guess I could go back and swap it out calls to detach instead... I'll put that on my todo list..... low, but there. :-)
Please make a tracker on joomlacode and add reference here.