On tiki-listpages.php, there should be no "Hits" column if the Stats feature is disabled.
- Status
- Closed
- Subject
- On tiki-listpages.php, there should be no "Hits" column if the Stats feature is disabled.
- Version
- 25.x
- Category
- Consistency
- Feature
- Stats
UI / UX (User interface and experience) - Resolution status
- New
- Submitted by
- Bernard Sfez / Tiki Specialist
- Keep informed
- Adrien
- Lastmod by
- Elvis ANSIMA
- Rating
- Description
On Tiki as long as the feature "Stats" (tiki-admin.php?page=stats&highlight=feature_stats) is not enabled (it is disabled by default) hits on pages are not counted.
However, even the feature is disabled there is a "hit" column displayed at http://bsfez-11581-8115.show2.tikiwiki.org/tiki-listpages.php (and certainly other places). It will be populated with a lot of 0 for Tikis that will never use or needs stats.
- Solution
Visibility of the Hits column on tiki-listpages.php:
The "Hits" column visibility should be dependent on the Stats feature.
If Stats is enabled, then display the column.
If Stats is disabled, then hide the column.Suggested solution details :
Help message about how to display the Hits column:
It's crowded at the top of the page and it would be irritating to have a remarksbox there all the time if you don't want to turn on stats, so maybe the text (only text — no remarksbox — should be below the table, inline with the checkbox action selector, following it on the right.The checkbox action selector is now in a div class="input-group col-sm-8" so there's col-sm-4 of space available to the right side. I'd say make that a grid div class="col-sm-4" and put a div class="form-text" in it that displays the text when the stats feature is off.
Maybe both col divs should be in a div class="row".
I'd put an icon-information first and then text like 'To record page hits and display them in this list, enable the "Stats" feature.' "Stats" would have a tiki-admin_general.php?page=features IRL or whatever is the link best to use, so the admin user can navigate to the page to activate the Stats feature.
When the Stats feature is activated, the message doesn't need to be displayed, so its visibility is the opposite of the Hits column's.
- Importance
- 5
- Easy to solve?
- 5
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 8115
- Created
- Sunday 06 March, 2022 13:23:29 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Monday 30 May, 2022 12:40:39 UTC