type:
integration
system:
Drupal
name:
Basic Drupal + FoxyCart integration
description:
Inserts the necessary FoxyCart javascript and CSS into Drupal templates.
date:
2009-09-01
developer:
http://frontierconsulting.com.au

Drupal

Description

These instructions will integrate FoxyCart with your Drupal 6 template. This is not a Drupal module, if you change templates then you will need to apply these steps again to the new template.

Installation

  1. Under your template folder, eg. /sites/all/themes/mytemplate, make a directory foxycart-version. eg. foxycart-0.5.1
  2. Download the foxy files, maintaining the same folder structure (and replacing the YOURDOMAIN.FOXYCART.TLD with the path to your FoxyCart files, as indicated in your “sample code” page in your FoxyCart admin):
  3. Add these lines to your template .info file:
    stylesheets[all][] = foxycart-0.5.1/files/foxybox.css
    stylesheets[all][] = foxycart-0.5.1/themes/standard/theme.foxybox.css
    scripts[] = foxycart-0.5.1/files/foxycart_includes.js
  4. Refresh your Drupal theme cache.

Done. Now can add Foxy add to cart links, etc.. to your pages and blocks. Just make sure that you select an appropriate Input Filter otherwise all but the most basic HTML tags will be stripped and it won't work.

Requirements

  • Drupal 6
 
integration/drupal.txt · Last modified: 2009/09/01 07:12 by 202.161.84.85
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki