? ? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
28 May 2021

When hits are disabled for articles (in the article options) it makes no sense to display the Most Read Articles module in the site or admin as the contents will never be updated.

This PR changes the output of the module so that instead of a list of non-updating articles a message is displayed.

Site Module

image

Admin Module

image

avatar brianteeman brianteeman - open - 28 May 2021
avatar brianteeman brianteeman - change - 28 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 28 May 2021
Category Administration Language & Strings Modules Layout Front End
avatar brianteeman brianteeman - change - 28 May 2021
Labels Added: ? ?
avatar chmst
chmst - comment - 28 May 2021

The module seems to be very old and there are only few use cases when it makes sense, with or without hit counting. I suggest removing it from the dashboard for new installations. @richard67 what do you think?

avatar richard67
richard67 - comment - 28 May 2021

The module seems to be very old and there are only few use cases when it makes sense, with or without hit counting. I suggest removing it from the dashboard for new installations. @richard67 what do you think?

@chmst I think that with hit count it sill makes sense and I would like to have that module on my dashboard because I have it for my homepage, too. But that's just my personal opinion, I have nothing to decide and I don't want to have anything to decide.

avatar brianteeman
brianteeman - comment - 28 May 2021

I actually use it a lot - so maybe others so as well - dont really care if its default or not. Either way its beyond the scope of this PR to remove it

avatar chmst
chmst - comment - 28 May 2021

It is not in scope of this PR, just a matter of taste.

avatar brianteeman
brianteeman - comment - 28 May 2021

we really have to get out of the habit of out of scope comments. Far too often they completely detract from the actual PR. my 2c

avatar Abernyte-Git Abernyte-Git - test_item - 28 May 2021 - Tested successfully
avatar Abernyte-Git
Abernyte-Git - comment - 28 May 2021

I have tested this item successfully on 1f63709


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

avatar sandramay0905 sandramay0905 - test_item - 29 May 2021 - Tested successfully
avatar sandramay0905
sandramay0905 - comment - 29 May 2021

I have tested this item successfully on 1f63709


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

avatar Quy
Quy - comment - 29 May 2021

Should the module be displayed on the front end in this case?

avatar brianteeman
brianteeman - comment - 29 May 2021

Absolutely yes. Think like a user.

I turn off hits in January. In December I decide to add the module but it doesn't appear anywhere - joomla is broken.
This way it appears and they are informed that they need to re-enable hits

avatar richard67 richard67 - change - 29 May 2021
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 29 May 2021

RTC


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

avatar chmst chmst - close - 29 May 2021
avatar chmst chmst - merge - 29 May 2021
avatar chmst chmst - change - 29 May 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-05-29 17:00:36
Closed_By chmst
Labels Added: ?
avatar chmst
chmst - comment - 29 May 2021

Thanks!

avatar brianteeman
brianteeman - comment - 29 May 2021

Thanks

avatar brianteeman
brianteeman - comment - 29 May 2021

@SharkyKZ is it your mission in life to just sit there and put the thumbs down. This is an open repo - if you have a comment to make then please do so.

avatar SharkyKZ
SharkyKZ - comment - 30 May 2021

With maintainers like these it's pointless.

avatar richard67
richard67 - comment - 30 May 2021

Thanks for the flowers.

avatar brianteeman
brianteeman - comment - 30 May 2021

I dont believe anyone is a mind reader. If there is something wrong then say it

avatar PhilETaylor
PhilETaylor - comment - 31 May 2021

For once - I agree with Sharky. This broke things. PR incoming :-(

avatar brianteeman
brianteeman - comment - 31 May 2021

thats why you have to speak and not thumbs

avatar PhilETaylor
PhilETaylor - comment - 31 May 2021

Detail: #34318

avatar PhilETaylor
PhilETaylor - comment - 31 May 2021

#34320 also moves the output rendering out of the Model helper where it is "more correct" to be outputting output, rather than in the M of the MVC

Add a Comment

Login with GitHub to post a comment