| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Modify Layout of Manufacturers Page | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Modify Layout of Manufacturers Page
I want to modify the layout of the Manufacturers page. The default layout is an unordered list of just the manufacturer names. The relevant default code inside /common_files/modules/Manufacturers/customer_manufacturers_list.tpl is...
Code:
I stole some code from the customer_manufacturer_products.tpl file in order to get the manufacturer logos to show. Code now looks like this... Code:
What I REALLY want is to have these logos + text links for each manufacturer to be in a table format (rows and columns) so you don't have to scroll down so far to see them all. I would be willing to hardcode the number of columns fi the rows were dependant on the number of manufacturers defined. Can anyone help with this formatting? Please.
__________________
David Coggan Carolyn Nussbaum Music Company X-Cart v4.5.4 Gold + LiteCommerce v2.2.41 (previous 6 years) |
|||||||
#2
|
|||||||
|
|||||||
Re: Modify Layout of Manufacturers Page
Here is a screen shot of where I am at versus where I would like to be.
__________________
David Coggan Carolyn Nussbaum Music Company X-Cart v4.5.4 Gold + LiteCommerce v2.2.41 (previous 6 years) |
|||||||
#3
|
|||||||||
|
|||||||||
Re: Modify Layout of Manufacturers Page
Once again I will ask for a link if possible. This is a css issue of course, and working right on the page makes it much easier to suggest a solution, rather than guessing.
Try: Code:
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Modify Layout of Manufacturers Page
I sent you a message.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: Modify Layout of Manufacturers Page
If I am right you could use list2matrix smarty function already in XC
__________________
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 |
|||||||||
|
#6
|
|||||||||
|
|||||||||
Re: Modify Layout of Manufacturers Page
We were able to do it with some simple CSS styles, but list 2 matrix would work fine as well.
I also like to use counters on a foreach loop, counting the iterations and spitting out a break line of some kind when it reaches the nth one.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#7
|
|||||||
|
|||||||
Re: Modify Layout of Manufacturers Page
checkout this module http://www.websitecm.com/x-cart-mods/xcart-manufacturers-a-z.html
if you have many manufacturers then above mod will be very useful to you.
__________________
X-Cart: 4.7.7 LIVE Skin:Ultra by xcartmods.co.uk X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9) --------------- Server: Linux php: 5.3 mysql: 5.0.89 ---------------- |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|