Using different admin folders with admin
Posted: 25 Nov 2006, 17:08
A site I'm building for a client of mine has english and spanish versions.
The names on the categories on the main menu need to be in different languages, so to achieve this in the following structure:
content-en/portfolio/Animation
content-en/portfolio/Corporate
content-en/portfolio/Editorial
content-en/portfolio/Illustracion
content-en/portfolio/Signs
Then the same struture with the names in Spanish
content-es/portfolio/Animacion
content-es/portfolio/Editorial
content-es/portfolio/Ilustracià³n
content-es/portfolio/Imagen Corporativa
content-es/portfolio/Seà±alizacià³n
I set up two config.ini files, each pointing to a different content folder (content-es and content-en)
The gallery works fine.
However, I cannot get the admin to see any of the folders.
I set up the passwords.php file as follows:
<?php
$data['password1'] = 'content-es/portfolio/';
$data['password2'] = 'content-en/portfolio/';
?>
replacing 'password1' and 'password2' with my actual passwords.
I can login fine, and I can see the message "CURRENT USER IS RESTRICTED TO IMAGEFOLDERS WITHIN GROUP CONTENT-ES/PORTFOLIO/"
However no folders are listed.
Any ideas?
Thanks
The names on the categories on the main menu need to be in different languages, so to achieve this in the following structure:
content-en/portfolio/Animation
content-en/portfolio/Corporate
content-en/portfolio/Editorial
content-en/portfolio/Illustracion
content-en/portfolio/Signs
Then the same struture with the names in Spanish
content-es/portfolio/Animacion
content-es/portfolio/Editorial
content-es/portfolio/Ilustracià³n
content-es/portfolio/Imagen Corporativa
content-es/portfolio/Seà±alizacià³n
I set up two config.ini files, each pointing to a different content folder (content-es and content-en)
The gallery works fine.
However, I cannot get the admin to see any of the folders.
I set up the passwords.php file as follows:
<?php
$data['password1'] = 'content-es/portfolio/';
$data['password2'] = 'content-en/portfolio/';
?>
replacing 'password1' and 'password2' with my actual passwords.
I can login fine, and I can see the message "CURRENT USER IS RESTRICTED TO IMAGEFOLDERS WITHIN GROUP CONTENT-ES/PORTFOLIO/"
However no folders are listed.
Any ideas?
Thanks