| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Show manufacturers in columns | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Is there anybody who knows how to display all manufacturers on the manufacturer page in columns?
Now you get this tiny row, filling up the left column with 80% of the page not filled. The file I mean is: skin1/modules/Manufacturers/customer_manufacturer_products.tpl
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ![]() ----------------------------------------------------------------------------------------------------------------------------------------- ![]() ![]() |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() 1. Open /skin1/modules/Manufacturers/customer_manufacturers_list.php
2. Replace: Code:
with: Code:
3. Add/replace this code in main.css: Code:
Optional postinstallation steps: - adjust the number of columns: {if $col == 4} |
|||||||||
|
#3
|
|||||||||
|
|||||||||
![]() Thanks, a great start!
Some how it isn't showing things consistent and left aligned, see attachment, do you have any ideas? And where do you set the number of manufactures shown per page?
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ![]() ----------------------------------------------------------------------------------------------------------------------------------------- ![]() ![]() |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() 1. Remove this style definitions from code:
Code:
2. Replace </ul><ul> with </ul><ul class="manufacturers-list list-item"> 3. Add/replace this code in main.css: Code:
|
|||||||||
#5
|
|||||||||
|
|||||||||
![]() Quote:
In manufactures setting(admin area). |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() Thanks again, one final small details, how to get the background color underneath the manufacturers again? See screendump to get an idea.
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ![]() ----------------------------------------------------------------------------------------------------------------------------------------- ![]() ![]() |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() Put
Code:
Code:
__________________
Industrial Webworks Various xcart versions from 4.1.19 gold - 4.7 gold http://www.industrialwebworks.net |
|||||||||
#8
|
|||||||||
|
|||||||||
![]() For anyone interested, here is what I did for v4.2.x (4.2.3). It displays the manufacturers logos with the name of the manufacturer spelled out below, both are linked to the manufacturer page.
There is a problem. If you do not have a manufacturer logo, the default "no image" image is displayed. Also, the break tags toward the bottom are there to fill in so that my rounded corners work when ever the number of listings is not equally divisible by the number of columns. Code:
and in main.css I modified the manufacturers list 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 |
|||||||||
|
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|