Draft:Banner System

From X-Cart 4 Classic
Revision as of 00:49, 25 August 2012 by Dohtur (talk | contribs) (Banner System module configuration settings)
Jump to: navigation, search

Overview

Banner System is a banner management solution for your X-Cart based store. It is an X-Cart module that allows you to create banners and easily embed them in your store's pages using nothing but the tools provided in the Banner System section of your store's Admin area. With the Banner System module, it is possible to create banner ads using both images and HTML code, including JavaScript. You have full control over your banners' location: you can have your banners displayed at the top, left, right or bottom of the page, and, of course, there can be more than one banner at any of the said locations. It is also possible to define the pages on which each of your banners will be shown (for example, you can assign a banner to the home page or to a specific product category). Adding a banner to your X-Cart based store has never been easier: all you need to do is provide banner content and adjust a few settings, like banner position, size, display period and - for rotating banners, in which promotion messages or images transition from one to another like in a slideshow - the transition effect to be used. You do not need a webmaster to get your promotions displayed on the storefront; Banner System will let you publish information about your best deals in just a few minutes - even if designing banners is not your area of expertise. You will also have control of when each of your banners should be published and how long it should stay up on your site, so you will never have to worry that important information might not reach your customers on time.

To install Banner System:

  1. Obtain the Banner System distribution package by downloading it from the File area section of your X-Cart Account. The distribution package you need is contained in the archive file x-banner-system-x.y.z.tgz where x, y and z stand for X-Cart version (These need to match the version of X-Cart on which your store is based).
  2. Copy the distribution package to the X-Cart root directory on your server or hosting account.
    • If you use a Windows-based server, or a UNIX-based server without terminal access:
    a) Decompress the archive with the Banner System distribution package to a directory on your system using your favorite compression program (WinZIP or any other archiver with support for TAR files).
    b) Use an FTP client to upload all the files contained in the archive (retaining the directory structure) to the X-Cart root directory on your server or your hosting account.
    • If you use a UNIX-based server with terminal access:
    a) Use an FTP client to upload the archive with the distribution package to the X-Cart root directory on your server or your hosting account.
    b) Decompress the package using the following command:
    tar -xzvf x-banner-system-x.y.z.tgz
    Important: Make sure you keep the directory structure while unpacking and uploading the distribution package, otherwise some necessary files can be overwritten!
  3. In a web browser, run the installation script httр://<YOUR_XCART_DOMAIN>/install-banner-system.php, replacing the <YOUR_XCART_DOMAIN> part with the actual domain name of your X-Cart based store.
  4. Enter the Auth code, accept the License Agreement and click the Next button.
    Note: The Auth code is a random code that was generated after you installed your copy of X-Cart. If you do not remember the Auth code, find it on the Summary page in X-Cart Admin area before the License info subsection. Another way to find out the code is to retrieve the value of the variable $installation_auth_code from the file<xcart_dir>include/install.php .
  5. The installation script copies the files and activates the module. Click the Next button to continue the installation.
  6. The installation script generates a new system fingerprint. Click the Next button to complete the installation.

To uninstall Banner System:

  1. In a web browser, run the installation script httр://<YOUR_XCART_DOMAIN>/install-banner-system.php, replacing the <YOUR_XCART_DOMAIN> part with the actual domain name of your X-Cart based store.
  2. Choose the Uninstall the module option, enter the Auth code, accept the License Agreement and click the Next button.
  3. Once the installation script has removed the Banner System files and deactivated the module, click the Next button to complete the uninstallation.
  4. On the Uninstallation complete screen, click Next to leave the Wizard.
    Important: After you have uninstalled Banner System, be sure to remove the Banner System distribution package from your web directory as well.

Enabling the Banner System module

After the Banner System installation has been completed, the module you have installed needs to be enabled in your store:

  1. In Admin area, go to the Modules section (Settings menu -> Modules).
  2. Choose the Banner System module by selecting the respective check box on the left.
  3. Click the Apply changes button. This activates the module.

Configuring the Banner System module

After the Banner System module has been enabled in your store, you should check and adjust its configuration:

  1. In the Modules section (Settings menu -> Modules), click the Configure link opposite the module name ('Banner System').
    The module configuration page (titled by the name of the module) opens:
    BannerS5.png
  2. Adjust the settings on the module configuration page as needed. Detailed information regarding the Banner System module configuration settings is available below.
  3. Click the Apply changes button to save the changes.

Here are a few notes on the Banner System module configuration settings:

  • Banner rotation time delay: The length of time a banner image or HTML content is displayed within the banner container before being replaced with the next image/HTML content piece.
  • Default banner width: The width to be used for all banners that do not have a non-zero width value defined in their properties.
  • Default banner height: The height to be used for all banners that do not have a non-zero height value defined in their properties.
  • Unlimited banner display time: This option sets unlimited display time for all banners. If it is enabled, banner display time settings of individual banners are ignored.