Posted by Xano on January 22, 2009 at 9:51pm
2 followers
| Project: | Drupal core |
| Version: | 7.x-dev |
| Component: | statistics.module |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Xano |
| Status: | closed (won't fix) |
Issue Summary
Moving the statistics out of the admin pages allows site administrators to make them public using permissions. A lot of sites, however not the majority, have made their statistics publicly available. Permissions could be set to make the statistics private by default and we could create a permission for each type of statistics, so admins can keep the more sensitive information to themselves.
Comments
#1
Just figured "Why not now?"
The attached patch moves the statistics pages out of the admin pages. To list the items below 'Statistics' (a new menu item) I changed
node_add_page()andtheme_node_add_list()(and moved them to menu.inc) so they can be used for general purposes, as a replacement of D5'sMENU_ITEM_GROUPING. Any menu item can simply callmenu_list()with a class as the only parameter (to allow for more flexible styling) and it automatically returns a list of all its children.Permissions for the statistics pages are yet to come.
#2
#3
Why, if I may ask?