This shows you the differences between two versions of the page.
tutorials:design_adv:portable_template_set [2011/12/14 18:51] jonyo [Portable Template Sets] |
tutorials:design_adv:portable_template_set [2014/09/25 16:55] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{indexmenu_n> | ||
- | ====== Portable Template Sets ====== | ||
- | |||
- | <tip c w> | ||
- | |||
- | Before attempting to follow the tips or instructions here, be sure you have a **firm grasp of [[tutorials/ | ||
- | |||
- | Remember that problems caused by customizations are **not covered by Geo support**, if support finds that something works with the " | ||
- | </ | ||
- | |||
- | |||
- | One of the main // | ||
- | |||
- | ===== Creating Portable Template Set ===== | ||
- | |||
- | Below are some helpful //Dos and Don' | ||
- | |||
- | |||
- | |||
- | * < | ||
- | * < | ||
- | * < | ||
- | * < | ||
- | * < | ||
- | * < | ||
- | < | ||
- | * < | ||
- | background-image : url(' | ||
- | }</ | ||
- | * < | ||
- | * < | ||
- | * More tips to come! If you think of any useful tips not covered here, let us know! ((TODO: | ||
- | |||
- | |||
- | ===== Make Existing Geo Template Set Portable ===== | ||
- | |||
- | If you already have a customized template set, but it is not transferring to another site easily so you need help making your template set more portable, below are some general instructions to help you get there. | ||
- | |||
- | <tip c n> | ||
- | |||
- | - In the admin panel on the site with the custom template set (which we will refer to as " | ||
- | - In the admin panel on a test installation (which we will refer to as " | ||
- | |||
- | Once you have a second test installation set up, and you are to the stage of entering your license key, contact [email protected] to have the test installation location added to your existing license.</ | ||
- | - On your **Test Site**, in the admin panel, make sure the template set uploaded is the only " | ||
- | - Browse to different pages on the front side, if possible. | ||
- | - Figure out anything that is missing from your **Test Site**, things like images, CSS files, JS files, etc.<tip c n> | ||
- | - For all the missing files, get them((Download them using FTP, if you don't already have copies of them on your computer.)) from your **Live Site**, and upload them to your **Test Site** but **inside the external/ folder** in your template set. For instance, if you originally had some images located in **images/** folder on the **Live Site**, upload those images inside **geo_templates/ | ||
- | - For each file you uploaded to the external/ sub-folder in your template set: | ||
- | - On **Test Site**, in admin go to **Design > Text Search**. | ||
- | - Look for the first found match for any template file, that references the file " | ||
- | - On the edit page, click on the **< | ||
- | - In the template source code that is displayed in the editor, find where the file you searched for is being used, you will be replacing it with an " | ||
- | - Repeat these steps until all " | ||
- | < | ||
- | - Keep doing that, until you have removed all direct references to images or CSS files, and replaced them with " | ||
- | - In your CSS files, update any URL references (for instance, for image backgrounds) to point to the image relatively. | ||
- | - Check for any more parts of your design that are still not self-contained in your custom template set, and fix them to be located in the template set. < | ||
- | |||
- | |||