In the standard installation it is not possible for normal users (editors) to access the moduls below "tools". (This section was thought for admins only.)
But by now there are a lot of useful tools, which are also relevant for editors. For example "cc_awstats". The question ist:
How to make them accessable for normal editors?
This article suggests some solutions.
1: Change rights for the backend modul:
To use the modul cc_awstats for normal users you have to do some changes:
- Set right for the modul in cc_awstats/mod1/conf.php:
$MCONF["access"]="user,group";
Now you can select this modul in backend-usergroups! - Change the rights-check in the modul itself:
change cc_awstats/mod1/index.php round line 90
fromif (($this->id && $access) || ($BE_USER->user["admin"] && !$this->id) ) {
to:if (($this->id && $access) || ($BE_USER->user["admin"] && !$this->id) ||
($BE_USER->user["uid"] && !$this->id)) {
2: Make the modul available for normal users:
The next problem is that users aren't allowed to view the main-modul "Tools". For this there are diffent solutions:
- Provide the link to the modul in another way: (for example in a specifiy backendmodul for this website?)
<sitenurl>/typo3conf/ext/cc_awstats/mod1/index.php
Make the main-modul "tools" accessable for normal users:
For that you have to change the file
.../typo3/mod/tools/conf.php
The access for users should be allowed, so change the line to:
$MCONF['access']='user,group';
After this change you can also select this modul "tools" in backend-usergroups!
There is no other way to change this rights in TYPO3 3.8 :-(
- Rearrange the modul "cc_awstats". For example make it a submodul of the main-modul "web":
Change the line in cc_awstats/ext_tables.php to:t3lib_extMgm::addModule('web','txccawstatsM1','',t3lib_extMgm::extPath($_EXTKEY).'mod1/');Rename the modul in cc_awstats/mod1/conf.php :$MCONF["name"]="web_txccawstatsM1";
