With this mod you can add as many ( configurable ) pages as you want to your meteotemplate site.
In this way you are not obliged to create a kilometric home page, very long to scroll ( and also very slow to load ), but you can divide it in a few pages.
How does this work?
- simply create an homepage layout ( via the meteotemplate control panel ) and save it with a name ( short name, max 8 chars ), for example 'page2' ( you can create as many as you want ), meteotemplate already does this
- the mod extends the indexDesktop.php scripts ( used to load the home page ) so that you can pass a 'layout' parameter to load one of the layout created in previously ( not only the default one )
- to load the page2 layout, for example, point your browser to ( note the .txt added after the layout name ):
Code: Select all
indexDesktop.php?layout=page2.txt&nonewpageInstallation
Simply unzip the archive in the root directory of the meteotemplate installation ( it will overwrite the files with the same name ). It is compatible with meteotemplate 18.0 and 19.0
site


