Home Dokumentation Wie geht's Other Tips & Tricks
Other Tips & Tricks PDF Drucken E-Mail
Geschrieben von: Ivo Apostolov   
Mittwoch, 25. April 2007 um 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

Add Comment

joomfish_2.0rc_download

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

Leseempfehlung

Joomla! 1.5 Buch von Hagen Graf