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

How to Display the Manufacturer List in multiple Columns

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-31-2005, 02:08 PM
 
hyratech hyratech is offline
 

Senior Member
  
Join Date: Jul 2005
Posts: 172
 

Default How to Display the Manufacturer List in multiple Columns

CAn i change the display of manufacturer's list in the customer areas to columns? manybe 2 or 3 .. and have them show the logo with the name?
I added the manufacturer logo pictures to all of them already.. how do i get them to show?
__________________
hyratech
X-CART Gold 4.1.10
Hosted - Unix
Reply With Quote
  #2  
Old 07-31-2005, 03:15 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Be sure and search the forum throughly, this came up right away:

http://forum.x-cart.com/viewtopic.php?t=16655
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 05-18-2006, 03:52 AM
 
karentown karentown is offline
 

Senior Member
  
Join Date: Apr 2005
Posts: 129
 

Default

How do I split the list if there are NO icons, just links? I followed the directions in the other thread and it made the page all over the place.

Thanks
__________________
Running stores using the following:

2@ Version 4.0.19
2@ Version 4.1.9
1@ Version 4.1.11
Reply With Quote
  #4  
Old 05-18-2006, 03:54 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Follow that thread very carefully, it works fine To remove the icons, just comment out the images and you will have a list of links only.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 05-18-2006, 03:58 AM
 
karentown karentown is offline
 

Senior Member
  
Join Date: Apr 2005
Posts: 129
 

Default

what do you mean comment out the images?

^ ignore that... I am getting there but the links/font is HUGE. Do I need to assign a class to it and if so where please?

My current code is:

Code:
{* $Id: customer_manufacturers_list.tpl,v 1.3 2004/05/28 12:21:10 max Exp $ *} {capture name=dialog} {assign var="tmp" value="0"} {section name=mid loop=$manufacturers} {if $manufacturers[mid].manufacturerid}{assign var="tmp" value="1"}{/if} {/section} {section name=mid loop=$manufacturers} { if %mid.first% } <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> {/if} { if %mid.index% is div by 3} <tr> {/if} <td align="left" valign="middle"> <table cellspacing="0" cellpadding="0" border="0"><tr> <A href="manufacturers.php?manufacturerid={$manufacturers[mid].manufacturerid}" class="VertMenuItems"></td></tr> <tr><td align="left" valign="middle"> <font size="3">{$manufacturers[mid].manufacturer}</font></td></tr></table> </td> { if %mid.last% } </tr> </table> {/if} {/section} {/capture} {include file="dialog.tpl" content=$smarty.capture.dialog extra="width=100%"}

Thank you so much!
__________________
Running stores using the following:

2@ Version 4.0.19
2@ Version 4.1.9
1@ Version 4.1.11
Reply With Quote
  #6  
Old 05-18-2006, 04:02 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

In the code of that thread, replace this:

<tr><td height="70">
[img]mlogo.php?manufacturerid={$manufacturers[mid].manufacturerid}[/img]</td></tr>

with this:

{*<tr><td height="70">
[img]mlogo.php?manufacturerid={$manufacturers[mid].manufacturerid}[/img]</td></tr> *}

The {* and *} are comments...they hide whatever is between them. Better than deleting as you may want the icons back again someday.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 05-18-2006, 04:08 AM
 
karentown karentown is offline
 

Senior Member
  
Join Date: Apr 2005
Posts: 129
 

Default

Figured it out...sometimes I dont give myself enough credit and I panic. I REALLY appreciate your help!!! Thanks as usual!
__________________
Running stores using the following:

2@ Version 4.0.19
2@ Version 4.1.9
1@ Version 4.1.11
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:11 AM.

   

 
X-Cart forums © 2001-2020