Glossary Item Box

Squirrelcart v6.1.0

Making Themes Portable

Overview

If you would like to make a theme that can be used in another installation of Squirrelcart, you'll need to save that theme.

Please note - Squirrelcart is sold for use on a single web site. Using Squirrelcart on additional websites requires that you purchase a Squirrelcart license for each separate installation.

 

 

Saving Themes

How it Works

Saving a theme updates a special XML config file inside the theme's folder named config.xml.php. That file is used when installing that theme in another Squirrelcart installation and contains a copy of all records associated with that theme, including:

 

 

When a theme is installed all associated navigation blocks, content records, and links are imported along with that theme. If any of these records are already present in the database prior to installing a theme, those already existing records are used instead.

 

Example

You create a theme and assign the following navigation blocks to it:

 

You save this theme and install it in another Squirrelcart installation. That installation has "Product Catalog" and "Best Sellers" navigation blocks already, but does not have a "Help Info" navigation block. When installing the theme in this installation, a "Help Info" navigation block will automatically be added along with whatever content was entered on it's record.

If you make any changes to a theme's associated records, you must save that theme in order for those changes to be ported to another Squirrelcart installation.

 

How to Prepare and Save Themes for Reuse

  1. Make sure you are happy with the apperance of your theme.
  2. Analyze Navigation Blocks, Content, and Link records to make sure they contain data that is acceptable to you. All of these records have the potential to show up in the target Squirrelcart installation when this theme is installed.
  3. Open your theme's record in your control panel
  4. Click Save Changes
  5. Make sure you see a notice indicating the XML config file for your theme has been updated:
  6. If you see the dialog boxes shown above, your theme was saved properly. If the first one is missing, check your permissions.

Moving a Theme to Another Installation

After saving a theme as explained above, you can move it to another Squirrelcart installation. In the steps below, "source installation" represents the installation of Squirrelcart with the theme already installed. The term "target installation" represents the installation you want to move the theme to.

  1. Download the theme's folder from the source installation's squirrelcart/themes/ folder.
  2. Upload the same folder to the target installation's squirrelcart/themes/ folder.
  3. Follow the instructions in the Installing a Theme topic

 

 


© 2001-2017 Lighthouse Development. All Rights Reserved.