X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to Display the Manufacturer List in multiple Columns (https://forum.x-cart.com/showthread.php?t=15588)

hyratech 07-31-2005 02:08 PM

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?

balinor 07-31-2005 03:15 PM

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

http://forum.x-cart.com/viewtopic.php?t=16655

karentown 05-18-2006 03:52 AM

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 :)

balinor 05-18-2006 03:54 AM

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.

karentown 05-18-2006 03:58 AM

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!

balinor 05-18-2006 04:02 AM

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.

karentown 05-18-2006 04:08 AM

Figured it out...sometimes I dont give myself enough credit and I panic. I REALLY appreciate your help!!! Thanks as usual!


All times are GMT -8. The time now is 06:09 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.