? Success

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
22 Jul 2016

Summary of Changes

Deprecates support for all overriding pagination functions (the functions in a template's html/pagination.php file) in favor of using JLayout consistently. Except for the one added in #10982 deprecation notices are added when checking for the presence of these functions.

It is also noted that the _item_active() and _item_inactive() methods of JPagination will proxy to the joomla.pagination.link layout as of 4.0. I did not make this change in the code now because the current functions and the default layout produce different HTML so this prevents an unwanted markup change which may affect how sites are rendered.

Testing Instructions

Code review and maintainer decision.

Forward Compatibility

It is possible to create a html/pagination.php file that is compatible with the proposed use of JLayout and still be backward compatible as long as the JLayout API is available. This gist is the html/pagination.php file we use for the joomla.org site template taking advantage of pagination_list_footer() already having inbuilt JLayout support and proxying the remaining methods to compatible layouts.

avatar mbabker mbabker - open - 22 Jul 2016
avatar mbabker mbabker - change - 22 Jul 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Jul 2016
Category Layout Libraries
avatar joomla-cms-bot joomla-cms-bot - change - 22 Jul 2016
Labels Added: ?
avatar bertmert bertmert - test_item - 22 Jul 2016 - Tested successfully
avatar bertmert
bertmert - comment - 22 Jul 2016

I have tested this item successfully on 7c7a783


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

avatar RonakParmar RonakParmar - test_item - 23 Jul 2016 - Tested successfully
avatar RonakParmar
RonakParmar - comment - 23 Jul 2016

I have tested this item successfully on 7c7a783


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

avatar wilsonge wilsonge - change - 23 Jul 2016
Status Pending Ready to Commit
avatar wilsonge
wilsonge - comment - 23 Jul 2016

RTC for 3.7. Thanks Michael!


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

avatar joomla-cms-bot joomla-cms-bot - change - 23 Jul 2016
Labels Added: ?
avatar wilsonge
wilsonge - comment - 30 Jul 2016

Merged with 63d06a6 - thanks!

avatar wilsonge wilsonge - change - 30 Jul 2016
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2016-07-30 14:03:01
Closed_By wilsonge
avatar wilsonge wilsonge - close - 30 Jul 2016
avatar joomla-cms-bot joomla-cms-bot - close - 30 Jul 2016
avatar joomla-cms-bot joomla-cms-bot - change - 30 Jul 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment