![]() |
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. |
Re: Modify Layout of Manufacturers Page
2 Attachment(s)
Here is a screen shot of where I am at versus where I would like to be.
|
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:
.manufacturers-list ul li { |
Re: Modify Layout of Manufacturers Page
I sent you a message.
|
Re: Modify Layout of Manufacturers Page
If I am right you could use list2matrix smarty function already in XC
|
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. |
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. |
All times are GMT -8. The time now is 01:22 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.