ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Customizing login page


  • 2008-07-22 12:28:08

    Customizing login page

    Hello,
    I'm looking to customise the page that users input their username/password to log in - login.php. I have searched the forums but can't find anything to help. I know the content here is called from another page but can't track it down. Can someone point me to the file I need to alter?
    Many thanks
    Jim

  • 2008-07-22 13:00:48

    Re: Customizing login page

    Edit the login.tmpl.php file in the theme you are using.

    /themes/[theme_name]/

    If you are using one of the defaults, you may want to take a copy of the theme and create a new version of it, so you can reuse the theme and its login screen when you upgrade. See the wiki for theme details.

  • 2008-07-23 13:22:25

    Re: Customizing login page

    Hi Greg,
    What I was wanting to do was to alter the content of the page - not the coding. For example the two boxes in the table for 'Login' and 'New User' I want to alter the instructions text, to suit the way our clients login. In the right-hand cell I also want to remove the 'Register' button and change the text there to suit our purposes. I've done this in a previous version - just can't remember how !
    Many thanks
    Jim

  • 2008-07-23 14:28:04

    Re: Customizing login page

    Language can be edited using the administrator's language manager.

    Removing the register button on the login screen requires editing the code.

    Removing it from the Tabs of the login screen needs to be done in the include/lib/menu_pages.inc.php file, by removing "registration.php" from the $_pages[AT_NAV_PUBLIC] variable defined near the top of the file.