| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Manufacturers with icons on customer_manufacturers_list.tpl | ||||
|
|
Thread Tools | Search this Thread |
#61
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
Quote:
Not working on current 4.4.1 Version..What is the exact code??
__________________
X-cart Platinum 4.6.1 Reboot template |
|||||||
#62
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
/common_files/modules/Manufacturers/menu_manufacturers.tpl (4.4.1)
{* $Id: customer_manufacturers_list.tpl,v 1.6 2005/11/21 12:42: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="5" cellspacing="0"> {/if} { if %mid.index% is div by 4} <tr> {/if} <td align="center" valign="middle"> <table bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" border="0"><tr><td height="70"> <a href="manufacturers.php?manufacturerid={$manufactu rers[mid].manufacturerid}"><b>{$manufacturers[mid].manufacturer}</b><br><img src="{$xcart_web_dir}/image.php?id={$manufacturers[mid].manufacturerid}&type=M" /></a></td></tr> <tr><td align="center" valign="middle"></td></tr></table> </td> { if %mid.last% } </tr> </table> {/if} {/section} {/capture} {include file="dialog.tpl" content=$smarty.capture.dialog extra="width=100%"} |
|||||||
#63
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
Quote:
Hi Cankus the above code set is working but there is a problem see the attachment below-http://www.thefashiontree.com/brandlogo.jpg It should be Logo only not Manufacturer is not specified that is at least 4 or five logo Vertically and other on more options. How to achieve that??
__________________
X-cart Platinum 4.6.1 Reboot template |
|||||||
#64
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
Quote:
Hi is it possible to call brand logo on home page four or five vertically and rest shows on other manufacturer in menu_manufacturers.tpl?? |
|||||||
#65
|
|||||||||
|
|||||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
I would like to ask how to insert the number of products for a manufacturer between round squares.
__________________
X-Cart Next: Business 5.2 (learning and testing) X-Cart Classic: Gold and Gold Plus 4.7 Lots of Modules and Customizations OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions) You can catch my ideas here: http://ideas.x-cart.com |
|||||||||
#66
|
|||||||||
|
|||||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
There is a space in the $manufacturers array.
Fix the line: Code:
With this: Code:
Or the logo link won't work.
__________________
X-Cart Pro v4.2.2 [Win] X-Cart Pro v4.2.3 [Win] X-Cart Pro v4.4.4 [Win] |
|||||||||
#67
|
|||||||||
|
|||||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
Quote:
Part of the problem is he says to replace "menu_manufacturers.tpl" with customer_manufacturers_list.tpl. If you are trying to get logos to display vertically in the menu then they should not be in a table but in a list. I have my manufacturers list (the one not on the menu) with logos 4 across in columns. Here is my customer_manufacturers_list.tpl for 4.4.4. Code:
Pay attention to the part that begins "<img src="{$xcart_web_dir}.." as that is the routine you want to incorporate into menu_manufacturers.tpl. If we just put it as is into menu_manufacturers.tpl then we should get a list of all of the manufacturers. To do this, in menu_manufacturers.tpl try replacing Code:
Code:
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#68
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
A tidier method placing the image in a DIV and floating it left.
Code:
and the css class Code:
The class clearing at the end clears the float left and it is an existing xcart class. You can use a similar tactic with simple_products_list.tpl and products_t.tpl thereby disposing of the table layout.
__________________
Xcart 4.4.? Xcart Next Litecommerce with Drupal http://www.corbywebworx.com Custom Mods, Hosting and Support for Xcart-Next and LiteCommerce |
|||||||
|
|||
X-Cart forums © 2001-2020
|