Between joomla 2.5 and 3.x what is the best way to check if another component is installed and/or enabled? There exist a helper class called JComponentHelper
but I believe the isEnabled
function will actually thrown an error if the component being checked is not installed on some joomla versions.
This can be as simple as hitting up the database directly but I wanted to see if there are other classes/helpers/methods people use.