Overriding Helpers in 5.6

Permalink 1 user found helpful
Hello. I have a SiteHtmlHelper that's been working since 5.3. It looks like 5.6 has broken this functionality and I can't figure out how to fix it.

I have a class that looks like this:

class SiteConcrete5_Helper_Html extends Concrete5_Helper_Html {
   // overridden methods here
}


The typical call to Loader::helper('html') gives the following error:
Fatal error: Class 'HtmlHelper' not found in ...

Does anyone know the proper procedure for overriding helpers in 5.6?

 
skote replied on at Permalink Best Answer Reply
Should've kept working at it. The correct code is now:

class HtmlHelper extends Concrete5_Helper_Html {


Apparently, it's no longer required to add the "Site" prefix to the class name.