Home Documentation How to Other Tips & Tricks
Other Tips & Tricks PDF Print E-mail
Written by Ivo Apostolov   
Wednesday, 25 April 2007 23:24

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

Add Comment


    Selected Contributors

    From the Joom!Fish Core team (Alex, Geraint, Ivo & Robin) a big thank you to all the people of the JoomFish community!
    Special thank's for testing, good suggestions, translations and forum moderation to:

    • Tommy White for the cute logo design
    • Bernhard, Michael, Luc, Olivier, Robin, Rune, Akarawuth
    • Harri <aka tassu> for moderation

    Ads by Google