Call theme or language settings from url

Discussion in 'Developers' Forum' started by 0658, Jun 25, 2023.

  1. 0658

    0658 Member

    Is it a way to call a theme or a language with url?
    I am working on a new theme but it would be really easier if i could test the theme with a url string to check if its working other than set it from admin to avoid logging in and out every time i made a change to test.

    This theme i hope to let the client change their language from the header of every page so they can make changes directly if like to.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    No, theme and language are both set in the session.
     
  3. 0658

    0658 Member

    Ok so i cant force overide temporary from url when testing ?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    No, at least not without altering the code which loads the theme. Why don't you install a VM and set it to your theme for development?
     
  5. 0658

    0658 Member

    I have a development setup of course but it was just to make it easier
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    And you do not have to log out and in again when you make a change in your theme during development. You must just do that when you switch to a different theme.
     
  7. 0658

    0658 Member

    Sure but if something fails until its fully functional i cant access admin site thats why i hoped it was possible.
    But is it any theme development documentation available ?
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    No, we do not have any documents on that.
     

Share This Page