Customizing New Site Landing Pages

Discussion in 'Installation/Configuration' started by atjensen11, Jul 9, 2009.

  1. atjensen11

    atjensen11 New Member

    When you create a new site in ISPConfig 3, it creates a landing page for that site until the user uploads their content.

    Where can you customize the template/theme for this page that gets created?
     
  2. atjensen11

    atjensen11 New Member

    I think I found it.

    Code:
    /usr/local/ispconfig/server/conf/index/standard_index.html_en
    
     
  3. atjensen11

    atjensen11 New Member

    After some testing and experimenting, it appears that the better spot to put the custom index page is:

    Code:
    /usr/local/ispconfig/server/conf-custom/index/standard_index.html_en
    
    Normally, this directory is empty with a default install. I copied the template file from the conf directory to the conf-custom directory, edited the file and then created a new site in the ISPConfig3 admin panel. The template from the conf-custom directory was used to populate the site.

    My question now becomes, how can I modify the template to use variables (i.e. the site domain name or dynamic email addresses)? Basically, are there any variables I can insert into the template that are parsed and replaced with the content from the fields in the admin panel?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not insert variables in the index files. If you need that you have to change the code of the apache plugin.
     
  5. pchelp2u

    pchelp2u New Member

    Update?

    Has this changed? I don't want to start a new thread if this is still not possible. I would also like to know if there is a way to automatically copy a file or directory into a newly created web-site home directory.
     

Share This Page