====== Install the Leuven-Template in 7 steps ====== There are seven steps to follow which should lead to a succesfull install - **You are here now** - Set the permissions of the folders - Test the web-server environment - Generate / adapt the settings files - Configure the upload of weather-data - Adapt menu items - Almost finished * **[[how_to_install|Upload the template to your webserver]]** * [[folder_contents|2]] * [[test_program|3]] * [[settings|4]] * [[upload|5]] * [[menu|6]] * [[how_to_install7|7]] ===== Upload the folder with all subfolders and scripts to the root of your website ===== * Copy the **complete** weather28 folder, NOT just the contents but the whole folder ===== Some advice which can save you a lot of time ===== The Leuven-Template is a LARGE template with a lot of pages to display and hundreds of scripts. - If possible USE the weather28/ folder and place it in the root. - You could use a different name but remember ALL examples assume weahter28/ - DO NOT copy the contents of the weather28/ folder to the root. You will probably overwrite important scripts there. \\ \\ - First test the Leuven-Template by adding weather28/ to the website name Example: **%%www.yoursite.com/weather28/%%**.\\ When you are finished testing you only have to rename one script and the addition of weather28/ is not needed in the browser anymore\\ \\ - You can continue to use your current web-site / template next to the Leuven-Template. No need to change anything there so leave it as it is. After you are completely satisfied with the new template you decide which web-page is displayed when a visitor types your website address into his/her browser.\\ \\ - If you are already uploading weather data you can use that location for the template also.\\ BUT: Do NOT change the location of the uploaded files until all adaptions has be done.\\ When you are ready to test with your own data - First **manually copy the weather files** from your current upload folder to the template upload folder. - Only when everything looks correct, you can change the template setting to point to your current upload location.\\ \\ - Even if you like the weather-adapted photographs behind the test-pages, they can not be used during testing. They hide error-messages which could occur after a typing error in one of the settings. So as long as the template is in "debug" mode, the template switches to the pastel color-scheme, regardless of your settings. For now you should follow the step-by-step instructions on the following pages first, before you jump in and start changing the scripts themselves. Even if you know what you are doing in changing the scripts, you lose more time later to redo things.