PDA

View Full Version : Customizing New Site Landing Pages


atjensen11
9th July 2009, 16:42
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?

atjensen11
9th July 2009, 16:52
I think I found it.


/usr/local/ispconfig/server/conf/index/standard_index.html_en

atjensen11
14th July 2009, 21:52
After some testing and experimenting, it appears that the better spot to put the custom index page is:


/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?

till
15th July 2009, 09:48
You can not insert variables in the index files. If you need that you have to change the code of the apache plugin.