| ||||||||||
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 |
#11
|
|||||||
|
|||||||
Sure! Simply, you can just create a folder called "brands" (in skin1/images) of images named after the manufacturers and link to them by name:
Code:
In the future, icons won't be in the DB at all as newer versions are much improved and we only need stability to migrate. - Mike
__________________
4.1.9 |
|||||||
#12
|
|||||||
|
|||||||
Thanks alot :P
|
|||||||
#13
|
|||||||
|
|||||||
Hi,
Can someone post the code for 4.1.1? Code:
|
|||||||
#14
|
|||||||
|
|||||||
This is a mod well worth implementing, and the code to use files instead of the database for image thumbnail generation reduces the load on the server quite significantly.
One thing I found in putting the files mod in place was that the code provided works great for product.tpl but wouldn't run for me in customer_manufacturers_list.tpl This is the code I used to display files instead of drawing from the database using that template: Code:
Hope this helps. Anybody have any suggestions on pagination of the Manufacturers list? At the minute it just produces a single long-ass list. I've just amended my version to split into 4 columns, but it's still a lengthy old list: http://www.smartchoicemusic.com/store/manufacturers.php
__________________
www.smartchoicemusic.com Smart Choice Music - Import CD and DVD Specialists 4.6.0 MySQL 5.5.34 PHP 5.4.24 Apache/2.2.26 Multiple homegrown and paid-for mods |
|||||||
#15
|
|||||||
|
|||||||
Here's te code for 4.1.2. Works well.
Code:
It is in three column, if you want more, just change Code:
|
|||||||
#16
|
|||||||
|
|||||||
I need a little direction where to find the code for the manufacturers link, so that I can change it to open in a blank window rather than taking the customer out of the site....any clues on which template it is...thanks in advance for any help.
__________________
Cheers Stuart ----------------------- X-Cart Version Gold 5.4.2 |
|||||||
#17
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
[quote=mffowler]Sure! Simply, you can just create a folder called "brands" (in skin1/images) of images named after the manufacturers and link to them by name:
Code:
Excelent post Mike. I am using it but struck and issue with the Crystal Blue Skin Addon. It seems our friend RRF has changed the code for images from what you have done to <IMG src="{$ImagesDir}/blahblah.gif">. I was just getting the text [img]Blah[/img] instead of the image. All good now. Thank you. Laurie
__________________
Gold Version 4.1.5 Crystal Blue Skins |
|||||||
#18
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
Version 4.1.3 looks nothing like these. Anyone know the code for that?
|
|||||||
#19
|
|||||||||
|
|||||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
The IMG codes didn't work for me. So I modified the original code a little bit and adjusted the fonts etc to the standards of x-cart. I'm using 2 collums. Here's my code. The file system image code is not included:
Code:
__________________
Best regards, Niki Buitenrust Hettema X-Cart Gold 4.1.8 (Live & Loaded) Royal Bhaktapur: Handmade products from Nepal - Pashmina's, scarfs, shawls, stola's and more... |
|||||||||
#20
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
Thank you NightFire! Works great! Does exactly what I wanted it to do. Now if I can only get the images in there!!! If anyone can shed some light on that I'd appreciate that too.
If anyone wants to see what it is, go to: http://www.handcraftedworks.com/shop/manufacturers.php If the images are there, I figured it out (or someone else told me how to!) Thanks again NightFire! |
|||||||
|
|||
X-Cart forums © 2001-2020
|