Page 1 of 1

Two questions

Posted: Mon Oct 30, 2006 4:39 pm
by dejan
Hello Marco
I have two question.
1. Is it possible to have multiple language support on front end with only one installation? I know that availability_template.php should be copied and translated, but in that way theres no automatic update fo the next year for all transaltions, right? Or maybe not?

2. This is stupid one. I have two users, admin and hotel, but all the messages of reservations on php-res go for admin. I have made it up once on previous installation to redirect them to hotel user, but know i've lost the option, i can't find it. Can you help me with this. (sorry for stupid questions)

Greetings
Dejan

Re: Two questions

Posted: Mon Oct 30, 2006 5:39 pm
by marco
Hello Dejan,
dejan wrote: 1. Is it possible to have multiple language support on front end with only one installation? I know that availability_template.php should be copied and translated, but in that way theres no automatic update fo the next year for all transaltions, right? Or maybe not?
You can add the language modules you need and then select the language on the first page when creating the template, this way the template name will be different for each template. To create a new language module you can read the doc/README.translation in the php-residence directory.
dejan wrote: 2. This is stupid one. I have two users, admin and hotel, but all the messages of reservations on php-res go for admin. I have made it up once on previous installation to redirect them to hotel user, but know i've lost the option, i can't find it. Can you help me with this. (sorry for stupid questions)
In the second page when creating the template there's a drop-down menu where you can choose the user.

Marco

Posted: Mon Oct 30, 2006 6:32 pm
by dejan
Marco
Thanks for your prompt reply. I really appreciate it.
And of cource, did i mentioned that this is a great script.
Greetings
Dejan :D