No Code Attached Yet
avatar korenevskiy
korenevskiy
4 Aug 2021

image
image

In the Article settings. The RECORD HITS field is disabled.
But this value is displayed on the site.
The fact is that the disabled RECORD HITS field hides another HITS field.
I believe that it should be like this:

  • Either the RECORD HITS field will not hide the HITS field.
  • Either disabling the RECORD HITS field will automatically deactivate the HITS field.
    image
avatar korenevskiy korenevskiy - open - 4 Aug 2021
avatar joomla-cms-bot joomla-cms-bot - change - 4 Aug 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 Aug 2021
avatar korenevskiy korenevskiy - change - 4 Aug 2021
Title
J4
J4 not working switch RECORD HITS
avatar korenevskiy korenevskiy - edited - 4 Aug 2021
avatar ChristineWk
ChristineWk - comment - 4 Aug 2021

In the Article settings. The RECORD HITS field is disabled.
But this value is displayed on the site.

It's not displayed in Frontend.

You can set RECORD HITS to Yes and HITS to No. also.

#34211

avatar korenevskiy
korenevskiy - comment - 5 Aug 2021

In the Article settings. The RECORD HITS field is disabled.
But this value is displayed on the site.

It's not displayed in Frontend.

You can set RECORD HITS to Yes and HITS to No. also.

#34211

there are no questions about what you wrote in the article.
The error is when RECORD HITS disabled and HITS enabled is selected.
At the same time, the HITS checkbox is hidden , which means it should also not work.
If RECORDS HITS operates on the principle of disable HITS at all on the site. Then why show hits?

avatar brianteeman
brianteeman - comment - 16 Aug 2021

In this case the showon in the xml is the problem and should be removed so that you can have any combination of show and record hits

avatar korenevskiy
korenevskiy - comment - 16 Aug 2021

In this case the showon in the xml is the problem and should be removed so that you can have any combination of show and record hits

I'm deactivating RECORDS HITS. Then I look at the client's website. And at a loss that the Hits are shown.
After that, I go to the settings, look and see that the hits are turned off. I can't find the setting where hits are enabled at all. Since all visible settings are disabled. But the hits are still being shown.
User experience shows that when you turn off Hits, hits will be shown on the client, this means that the second switch should not disappear, since its function continues to work, and it is no longer visible, hidden.

avatar brianteeman
brianteeman - comment - 16 Aug 2021

Sorry I guess my reply was lost in translation. I agree with you and the way to do it is to change the xml file and delete the line with showon. Will you do a PR

avatar korenevskiy
korenevskiy - comment - 16 Aug 2021

Sorry I guess my reply was lost in translation. I agree with you and the way to do it is to change the xml file and delete the line with showon. Will you do a PR

#35154

avatar richard67 richard67 - change - 16 Aug 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-08-16 21:06:58
Closed_By richard67
Labels Added: No Code Attached Yet
Removed: ?
avatar richard67 richard67 - close - 16 Aug 2021
avatar richard67
richard67 - comment - 16 Aug 2021

Closing as having a pull request.

@korenevskiy Please when you have created an issue and later make a PR to solve the issue, then close the issue. We have enough open issues which might be already solved or are duplicates because of such things. Thanks in advance.

Add a Comment

Login with GitHub to post a comment