change main.tpl.htm for login

Discussion in 'Tips/Tricks/Mods' started by cfoe, Oct 12, 2011.

  1. cfoe

    cfoe ISPConfig Developer ISPConfig Developer

    Hi guys,

    I switched from cPanel to ISPConfig 3 and I am loving it. Thanks to the developers for this awesome software.

    Now to my question:
    Is it possible to make the "login-module" use a different main.tpl.htm?
    For example "main-login.tpl.htm". I would like to output the login-form without the nav and submenu row.

    Help will be much appreciated.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Thanks :)

    Thats not possible without large changes in the code as ispconfig has just one main template for all pages and the menus and subpages are loaded with ajax into this main template.

    what you can try is that you create your own script to do the user authentication and initiate a session before you redirect the uer to the ispconfig interface.
  3. cfoe

    cfoe ISPConfig Developer ISPConfig Developer

    This is just a style thing and not urgent so when I have some spare time I will give it a try and publish my, hopefully, working solution here.
    Thanks for the quick response.

Share This Page