? ? Failure

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
31 Jul 2016

Summary of Changes

Presently the voting plugin only triggers for the onContentBeforeDisplay event. This PR adds the onContentAfterDisplay event as well and makes the position configurable.

Testing Instructions

Apply this patch from a checkout of the 3.7.x branch and ensure the new configuration works correctly.

avatar joomla-cms-bot joomla-cms-bot - change - 31 Jul 2016
Category Language & Strings Administration Plugins Front End
avatar mbabker mbabker - open - 31 Jul 2016
avatar mbabker mbabker - change - 31 Jul 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 31 Jul 2016
Labels Added: ? ?
avatar joomla-cms-bot joomla-cms-bot - change - 31 Jul 2016
Labels Added: ? ?
avatar brianteeman
brianteeman - comment - 31 Jul 2016

Was there a specific reason this is against 3.7 and not staging? From experience it makes it harder for people to test


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

avatar mbabker
mbabker - comment - 31 Jul 2016

Because the layout PR I did was merged to 3.7 so it wouldn't be very efficient to push this against staging then have to rebase it for 3.7 after it was tested against a completely different code structure.

avatar brianteeman
brianteeman - comment - 31 Jul 2016

Ok thanks. Makes sense.

avatar hardiktailored hardiktailored - test_item - 2 Aug 2016 - Tested successfully
avatar hardiktailored
hardiktailored - comment - 2 Aug 2016

I have tested this item successfully on a487632

Enabled votes for articles and displayed reviews, added ratings, showed on top and bottom position from plugin option, etc.
Tested both the events(onContentBeforeDisplay and onContentAfterDisplay) using echo out in code and everything works as expected.
Tested on 3.7.x(https://github.com/joomla/joomla-cms/archive/3.7.x.zip)


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

avatar 1apweb 1apweb - test_item - 2 Aug 2016 - Tested successfully
avatar 1apweb
1apweb - comment - 2 Aug 2016

I have tested this item successfully on a487632


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

avatar bertmert bertmert - test_item - 2 Aug 2016 - Tested successfully
avatar bertmert
bertmert - comment - 2 Aug 2016

I have tested this item successfully on a487632


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

avatar brianteeman
brianteeman - comment - 2 Aug 2016

@mbabker can you look at the travis issues please and then this can be merged


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

avatar mbabker
mbabker - comment - 2 Aug 2016

The Travis issues exist in the 3.7.x branch and aren't related to this pull request. https://travis-ci.org/joomla/joomla-cms/builds/148585025 is the last Travis build for the branch.

avatar brianteeman brianteeman - change - 2 Aug 2016
Status Pending Ready to Commit
avatar brianteeman
brianteeman - comment - 2 Aug 2016

Thank @mbabker

RTC


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

avatar joomla-cms-bot joomla-cms-bot - change - 2 Aug 2016
Labels Added: ?
avatar JoshuaLewis
JoshuaLewis - comment - 16 Aug 2016

Still planned for J 3.7?


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

avatar brianteeman
brianteeman - comment - 16 Aug 2016

@JoshuaLewis yes


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

avatar wilsonge
wilsonge - comment - 4 Sep 2016

Merged with a6f5e84

avatar wilsonge wilsonge - change - 4 Sep 2016
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2016-09-04 13:37:08
Closed_By wilsonge
avatar wilsonge wilsonge - change - 4 Sep 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment