Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

displaing thumbs in colums

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-02-2006, 07:00 PM
  wayne@industrialeye.com's Avatar 
wayne@industrialeye.com wayne@industrialeye.com is offline
 

Newbie
  
Join Date: Nov 2002
Location: los angeles, california
Posts: 5
 

Default displaing thumbs in colums

Can anyone assist in displaying thumbnails in 4 columns in the following products.tpl?

{* $Id: products.tpl,v 1.45.2.16 2005/10/17 07:54:19 max Exp $ *}
{if $active_modules.Feature_Comparison ne '' && $products && $printable ne 'Y'}
{include file="modules/Feature_Comparison/compare_selected_button.tpl"}
{include file="modules/Feature_Comparison/products_check_js.tpl"}
{/if}
{if $usertype eq "C" and $config.Appearance.products_per_row ne "" and $config.Appearance.products_per_row gt 0 and $config.Appearance.products_per_row lt 4 and ($featured eq "Y" or $config.Appearance.featured_only_multicolumn eq "N")}
{include file="customer/main/products_t.tpl" products=$products}
{else}
{if $products}
{section name=product loop=$products}
{assign var="discount" value=0}
xxx01/skin1/customer/main/products.tpl
<TABLE border="0" width="100%">
<TR>
<TD width="90" align="center" valign="top">
{if $active_modules.Special_Offers ne "" and $products[product].have_offers}
{include file="modules/Special_Offers/customer/product_offer_thumb.tpl" product=$products[product]}
{$lng.lbl_see_details}
{else}
<FONT class="ProductTitle">{$products[product].product}</FONT>

xxxxx01
{$lng.lbl_sku}: {$products[product].productcode}
<FONT size="1"></A>
{/if}
{if $active_modules.Feature_Comparison ne '' && $products[product].fclassid > 0 && $printable ne 'Y'}




{include file="modules/Feature_Comparison/compare_checkbox.tpl" id=$products[product].productid}
{/if}
</TABLE>






{/section}
{if $active_modules.Feature_Comparison ne '' && $products && $printable ne 'Y'}
{include file="modules/Feature_Comparison/compare_selected_button.tpl"}
{/if}
{else}
{$lng.txt_no_products_found}
{/if}
{/if}
__________________
we-designstudio.com

version 4.1.10gold
Reply With Quote
  #2  
Old 07-03-2006, 02:54 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

Change the line:

Code:
{if $usertype eq "C" and $config.Appearance.products_per_row ne "" and $config.Appearance.products_per_row gt 0 and $config.Appearance.products_per_row lt 4 and ($featured eq "Y" or $config.Appearance.featured_only_multicolumn eq "N")}

to

Code:
{if $usertype eq "C" and $config.Appearance.products_per_row ne "" and $config.Appearance.products_per_row gt 0 and $config.Appearance.products_per_row lt 5 and ($featured eq "Y" or $config.Appearance.featured_only_multicolumn eq "N")}

and then go to X-Cart Admin and change the number of products per row to 4.
Reply With Quote
  #3  
Old 07-03-2006, 10:34 AM
  wayne@industrialeye.com's Avatar 
wayne@industrialeye.com wayne@industrialeye.com is offline
 

Newbie
  
Join Date: Nov 2002
Location: los angeles, california
Posts: 5
 

Default

Thanks for the response

I am now getting

"Permission denied !

You are not allowed to do that!
Administrator Safe mode is enabled."

Haven't had much luck finding info in x-cart docs, is this referring to PHP safe mode?
__________________
we-designstudio.com

version 4.1.10gold
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:03 PM.

   

 
X-Cart forums © 2001-2020