0
Welcome Guest! Login
0 items Join Now

Login Component

    • ThomasVT's Avatar
    • ThomasVT
    • Sr. Rocketeer
    • Posts: 124
    • Thanks: 0

    Login Component

    Posted 17 years 3 months ago
    • I created a login component via the menu system..... it works fine... except that it shows up as the first link in my menu when directed to the main page... this is the only way i know how to set it so that the login is the first page that appears... but after that i want the link to be the last in the menu.

      thanks.
  • Re: Login Component

    Posted 17 years 3 months ago
    • have you tried using redirects on your templates index.php script? with javascript?
       
      if(!$my->id){
       echo '<script type="text/javascript">window.location = 'http://linktoyourloginpage.com';</script>' 
      }
       

      dont know if the above works, but say using mosRedirect
       
      if($my->id){
      &nbsp;  mosRedirect('index.php?linktoyourloginpage', 'you will need to login in or register');
      &nbsp; //break;
      }
       
    • No money to extend membership :(
    • ThomasVT's Avatar
    • ThomasVT
    • Sr. Rocketeer
    • Posts: 124
    • Thanks: 0

    Re: Login Component

    Posted 17 years 3 months ago
    • gold...... thanks.
  • Re: Login Component

    Posted 17 years 2 months ago
    • Can you share how you created a seperate login page...I am trying to create a way to make people login befor eseeing anything...

      Your comments would be appreciated.

      Thanks,

      Sean
    • Sean Carew
      Transformational Technologist
    • ThomasVT's Avatar
    • ThomasVT
    • Sr. Rocketeer
    • Posts: 124
    • Thanks: 0

    Re: Login Component

    Posted 17 years 2 months ago
    • If you only want clients that login to see certain content, then just make that content registered.. thanks the easy way.

      If you want to create a separate login page (looks wise), you need to take the login module and modify it.
  • Re: Login Component

    Posted 17 years 2 months ago
    • Yes. I know how to permission things...I am looking to create a page that looks more like the administrator login page...do you know of any sample code out there to do that? It's for a corporate extranet...

      Sean
    • Sean Carew
      Transformational Technologist
    • ThomasVT's Avatar
    • ThomasVT
    • Sr. Rocketeer
    • Posts: 124
    • Thanks: 0

    Re: Login Component

    Posted 17 years 2 months ago
    • Not sure of any sample code.. I just took the mod_login.php file and "hacked it up" in front page, to get it to look the way i needed.

      T.

Time to create page: 0.084 seconds