| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Manufacturers with icons on customer_manufacturers_list.tpl | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
hey there.... this is a great modification that i am trying to implement on the site i am working on. i am trying to call the images from the suggested "brands" folder that i have created.... but I can't get the images to appear.
i have tried linking the images in a couple differnt formats: [img]{$ImagesDir}/brands/{$product.manufacturer|replace:' ':''}.gif[/img] </a> <IMG SRC="{$ImagesDir}/brands/{$product.manufacturer|replace:' ':''}.gif"> </a> any suggestions from the experts? version 4.0.19
__________________
XCART version 4.0.19 |
|||||||
#22
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
wow.... so it all of a sudden started working! yay!
does anyone know how to make this modification work with the subcategory listings? ...so the subcategory logos will replace the listing text? thanks everyone!
__________________
XCART version 4.0.19 |
|||||||
#23
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
Thank you for the codes, NightFire. I updated my "customer_manufacturers_list.tpl" file up your codes. However, the images are not showing up. And this is what it looked like. http://www.mvpautoparts.com/manufacturers.php
http://img108.imageshack.us/img108/5008/manufacturersmx2.jpg After looking over and over again, I notice that your code referenced the "mlogo.php" file to call the image. However, I can not find this "mlogo.php" file anywhere in the entire xcart directory. Am I missing something here? Thanks -Tuan Quote:
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9 |
|||||||
#24
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
Hi weckie,
I'm using the codes as you listed below in my "customer_manufacturers_list.tpl" and the images are now showing up. Can you please help point me to the right direction? This is what it shows. http://img117.imageshack.us/img117/5845/manufacturerswa2.jpg Thanks -Tuan Quote:
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9 |
|||||||
#25
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
Hi Did any one come with the code to make it work with 4.1.3 yet?
Cheers Mark
__________________
www.mdperfumes.com.au LC Version 2.2.21 www.perfumeonsale.com.au X-cart 4.1.3 www.mstechstore.com.au X-cart 4.1.2 www.giftinabox.com.au X-cart 4.1.3 |
|||||||
#26
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
TL408 -
You need to replace Code:
Code:
__________________
Mike Kenzie X Cart Gold Ver. 4.1.3 X-RMA X-AOM X-Product Comparison |
|||||||
#27
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
Thanks so much, Mike. That did it! The images are showing up now. However, they are not link clickable as before. Do you happen to know how to correct this?
Thanks -Tuan Quote:
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9 |
|||||||
#28
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
Right before the image tag (<img) add this:
Code:
Right after the image tag, add this: Code:
__________________
Mike Kenzie X Cart Gold Ver. 4.1.3 X-RMA X-AOM X-Product Comparison |
|||||||
#29
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
Awesome!!! Thanks again, Mike. Your help is greatly appreciated.
Using a combination of your codes listed and the post from "fearnothing", I was able to combine the two and have the images called from the filesystem instead. It is MUCH faster than using the "image.php" to call. And just to recap all the posts above, below is the complete codes from my "customer_manufacturers_list.tpl" file for X-Cart version 4.1.3. Hopefully it will be useful to some. Cheers -Tuan Code:
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9 |
|||||||
#30
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
Thanks TL408 and Mike and everyone else - brilliant.
I had to add { include file="customer/main/navigation.tpl" } just after the {capture name=dialog} so it would pagenate to multiple pages as I have abour 120 manufacturers in the list but other than that works like a charm! Cheers Mark
__________________
www.mdperfumes.com.au LC Version 2.2.21 www.perfumeonsale.com.au X-cart 4.1.3 www.mstechstore.com.au X-cart 4.1.2 www.giftinabox.com.au X-cart 4.1.3 |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|