mariovaldez.net

MV.net forums
It is currently 14 Jul 2016, 00:33

All times are UTC - 7 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
PostPosted: 17 Feb 2005, 12:18 

Joined: 17 Feb 2005, 12:12
Posts: 2
I succeeded in developing two login buttons:
one to enter my english site
one to enter my italian version of the site

I did it by modifying slogin.inc.php. The only problem left is I want to direct to the right index.php. The english one is index.php and the other one indexitalo.php. I don't understand the script enough to find out how this works. Any hint would be appreciated


Report this post
Top
 Profile  
Reply with quote  
 Post subject: It would be easier if...
PostPosted: 18 Feb 2005, 13:56 
User avatar

Joined: 06 Mar 2003, 03:21
Posts: 447
Location: Monterrey, NL, Mexico
giovi:

> I succeeded in developing two login buttons:
> one to enter my english site one to enter
> my italian version of the site I did it by
> modifying slogin.inc.php. The only problem
> left is I want to direct to the right index.php.
> The english one is index.php and the other
> one indexitalo.php. I don't understand the
> script enough to find out how this works.
> Any hint would be appreciated

Maybe I'm too simplistic, but I think it would be easier to provide the option to choose a language before the login. So, for example, you could have indexeng.php and indexitalo.php, both password protected. And index.php would be a unprotected PHP script with a selection like "click here to enter our English site / click here to enter our Italian site".

Of course there is the problem of the translation of the login box (so that italian pages have an italian login box, english pages have an english login box). But that is very easy to solve.

Or maybe you are trying to do something different and I'm missing the point. If that's the case, please explain me and I'll think about a solution. :)


Regards,

Mario A. Valdez-Ramirez.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: 19 Feb 2005, 10:11 
mvaldez wrote:
giovi:



Or maybe you are trying to do something different and I'm missing the point. If that's the case, please explain me and I'll think about a solution. :)


Regards,

Mario A. Valdez-Ramirez.

Hi Mario, thanks but what I'm trying to do is a login button with the name 'english' and a login button with the name 'italian'. I succeeded to create these buttons but I can't let the italian one go to the right page, both logins goto index.php . Can you tell me what part of the script should be rewritten to have my second button to goto the right page?


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group