Home Документация Общи документи Other Tips & Tricks
|
Написано от Ivo Apostolov
|
|
Сряда, 25 Април 2007 23:24 |
|
NO TRANSLATION AVAILABLE
This article relates to Joomfish 1.8 and Joomla 1.0 and is not relevant to Joomfish 2.0 on Joomla 1.5.
Tip #1: Giving Usertype "Manager" rights to translate content in the Administrator/Backend
The official ACL system (/includes/gacl.class.php) doesn't give the Mamagers rights to the Components menu.
You need to go to this file and change the ACL rules to allow him the access to the Component menu and then add the lines like:
Code:
$this->_mos_add_acl( 'administration', 'install', 'users',
'manager', 'components', 'all' );
$this->_mos_add_acl( 'administration', 'edit', 'users',
'manager', 'components', 'com_joomfish' );
e.g. after line 163
Tip #2: Translating the date/time
If you want your Joomla! site to show a translated time and/or date when you switch languages, all you need to do is add a setLocale( <SERVER_ISO> ) into your language files.
For example, in a German language file you would add the code "setLocale( LC_ALL, 'de_DE' );
|
|
|
Избрани сътрудници
От екипа на Джум!Фиш (Алекс, Герайнт, Иво & Робин), голямо благодарим към цялата Джум!Фиш общност. Специални благодарност за тестването, предложенията, преводите и модерирането към:
- Томи Уай за сладкото лого
- Бернхард, Майкъл, Люк, Оливие, Робин, Руне, Акаравут
- Хари (Тасу) за модерирането
|
0 Comments