Where do we put templates we do not want over written in the next update?

Discussion in 'General' started by webguyz, Aug 30, 2015.

  1. webguyz

    webguyz Active Member HowtoForge Supporter

    I have seen these posts before but now that I need that I can't find it. Custom-conf is used for templates for new sites, but I know there is somewhere that we can put things like /ispconfig/web/sites/templates/web_domain_admin_list.htm so the next update does not overwrite my customizations.

    Thanks!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The conf-custom function exists for config file templates only. The html file that you refer to can be preserved by putting it into a folder

    web/themes/yourtheme/templates/sites/web_domain_admin_list.htm

    where "yourtheme" is the name of the theme that you use.
     
  3. webguyz

    webguyz Active Member HowtoForge Supporter

    Till,

    After /yourtheme/ in your example you have /templates/sites but in ispconfig its /sites/templates as the order, just double checking they are supposed to be reverse from their original location.

    Thanks for the excellent support. The more I use ISPConfig the more I realize how brilliant it is.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, they are reversed as all templates of a theme reside in the templates sub folder of the theme and templates that are specific to a module reside in a subfolder with the name of the module. so its themes/yourtheme/templates/module/template-file.htm
     
    webguyz likes this.

Share This Page