osHelpers - Help for your osCommerce store
 
Google Base Feed Germany
iFrame Defender v1.2
oscommerce Seo
  Seo Pack 2
  SE Friendly URLs
  Session ID Removal
  Title and Meta Tags
  Google Sitemap
Magnum Shopping Cart
  Magnum MVS 8.4 Basic
osCommerce Services
  osc / cre patch
  Data Entry
  Data Extraction
  bugs and fixing
  Site Transfer
  creloaded Transfer
  Design Special
  Hosting
osCommerce Templates
osCommerce Contributions
  Credit Modules
  Features
  Images
  InfoBoxes
  Languages
  Order Total Modules
  Other
  Payment Modules
  Reports
  Shipping Modules
  Templates/Themes
  Zones
osCommerce Articles
osCommerce Tutorials
  Installing osCommerce
  Configuring your store
  Adding categories
  Adding products
  Adding product attributes
  Configuring currency
  Adding payment modules
  Adding shipping modules
  Configuring sales tax
  Editing your home page
  Editing columns
  Editing header and footer
  Creating specials
  Managing customers
  Sending out a newsletter
  Sending out email
  Managing your banners
  Backup database
CRELoaded Tutorials
  Add Administrators
  Add Article Author
  Additional Images
  Create a New Page
  Define Mainpage
  Disable cc Encryption
  Disable Company Field
  Disable Country
  Disable Date of Birth
  Display broken images
  Easypopulate Export
  Email confirmation
  Insert Faq
  Max Package Weight
  Require Terms of Use
  Affiliate Newsletter
  Enable Cache
CB Power Affiliate
Tell A Friend
 

Tell someone you know about this product.

   OSHELPERS | OSCOMMERCE CONTRIBUTIONS | INFOBOXES | 3830   


oscommerce Partners1.0
[3830]
 
 
box_bg_l.gif.
"This will add a rotating Partners box to your site.

It is based on osaffiliates 1.0 I just changed code in affiliates.php to make heading match and changed location of banners to make it more organized. hope you like it. feel fre to email me about banner exchange
Frogman
amaturepaleo@msn.com

Step duh - BACKUP!!!

Step 1 - install the following file in it's appropriate location.

catalog/includes/boxes/affiliates.php



Step 2 - Open the file located in (catalog/includes/headeraddon.txt). Where you see the following code indicate the number of banners you will be using (be sure to adjust this as you add more).

// Indicate how many banner ads there are.
var amount=1;



Step 3 - (same file) Where you see

// Place your banner information here. Start at index number 0.
image[0]="http://www.agiftco.com/images/agiftcologo.jpg";
link[0]="http://www.agiftco.com";
info[0]="America's Gift Company";
target[0]="_blank";


Example In Said File


Step 4 - Copy the entire code in that file and add it to the VERY END of

catalog/includes/header.php

that's after closing ?>

this is already done for example


Step 5 - Go to

catalog/includes/column_left.php (or right)

- add the following code where you want your new box to appear

require(DIR_WS_BOXES . 'affiliates.php');

Step 6 Upload 80X90 pixel max banners to /catalog/images/banners/

Step 7 - Check out your site and see your nice new pretty affiliates box.





**** BY THE WAY***
The banners mentioned in code are from my friends and family if you choose to use them send me an email and I will send images"

 


For more information, visit the official osCommerce contribution webpage.
box_bg_r.gif.
 

osHelpers

osHelpers