? Success

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
26 Sep 2015

This patch does a review on the uses of JHtml helpers in the libraries folder and ensures that most public facing methods are called through the JHtml::_() method to allow them to be overridden using the JHtml API.

Summary of Change

  • Calls to static::method() in JHtml helper classes changed to use the JHtml::_() method call
  • Calls to certain JHtml methods (script, stylesheet, tooltipText being among the most common offenders) changed to use the JHtml::_() method call

Testing Instructions

Make sure the CMS still works. This patch touches a lot of files in most every component or JHtml helper.

avatar mbabker mbabker - open - 26 Sep 2015
avatar mbabker mbabker - change - 26 Sep 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 Sep 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 27 Sep 2015
Easy No Yes
avatar zero-24 zero-24 - change - 27 Sep 2015
Category Libraries
avatar designbengel
designbengel - comment - 24 Oct 2015

is there a better instruction to test it? "If the CMS still works" is too global IMO ;-)


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7950.

avatar mbabker
mbabker - comment - 24 Oct 2015

Without breaking this down into an obscene number of patches, not really. A lot of the changes change the calls for the tooltipText method from JHtml::tooltipText() to JHtml::_('tooltipText'), so one indicator of breakage is that tooltips would not render correctly anymore.

avatar dgt41 dgt41 - test_item - 24 Oct 2015 - Tested successfully
avatar dgt41
dgt41 - comment - 24 Oct 2015

I have tested this item :white_check_mark: successfully on 6ead8f1

All good front end - backend, also Reviewed for typos all good


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7950.

avatar zero-24
zero-24 - comment - 24 Oct 2015

@mbabker can you fix merge conflicts?

avatar joomla-cms-bot
joomla-cms-bot - comment - 24 Oct 2015

This PR has received new commits.

CC: @dgt41


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7950.

avatar mbabker mbabker - change - 30 Oct 2015
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2015-10-30 18:00:46
Closed_By mbabker
avatar mbabker mbabker - close - 30 Oct 2015
avatar mbabker mbabker - close - 30 Oct 2015
avatar mbabker mbabker - head_ref_deleted - 30 Oct 2015

Add a Comment

Login with GitHub to post a comment