View Single Post
  #5  
Old 03-17-2009, 12:10 PM
  MsBecky's Avatar 
MsBecky MsBecky is offline
 

Member
  
Join Date: Jul 2008
Location: California
Posts: 22
 

Question Re: Best Sellers on Static Page

Quote:
Originally Posted by Jon
This should do the trick.

Open pages.php

FIND:

Code:
# Assign the current location line $smarty->assign("location", $location);

BEFORE ADD:

Code:
if ($active_modules["Bestsellers"]) include $xcart_dir."/modules/Bestsellers/bestsellers.php";

In your static page use:

Code:
{if $active_modules.Bestsellers ne ""} {include file="modules/Bestsellers/bestsellers.tpl"} {else} Provide a disabled message. {/if}

Hi Jon,
I'm using this tip, but the "best sellers" are displaying in 1 single column. Any suggestions, on how to make them display 3 across?

Any help would be greatly appreciated =)
Thanks, Becky
__________________
X-Cart Gold 4.1.10
Mods: BCS Engineering, Cart-Lab, FireTankSoftware, WebsiteCM
Hosting: EWDHosting.com (These Folks Are The Best!)

================================================
THE LITTLE BEAN COFFEE CO.
Fresh Handcrafted Artisan Coffee & Tea,
Specialty Beverages, and Gourmet Food
================================================

Experience The Little Bean╝ Difference!
www.thelittlebean.com | 1-888-848-BEAN (2326)

"Behind every successful woman is a substantial amount of coffee"
Reply With Quote