![]() |
Border around products in 3 column layout.
Why is products_t.tpl all tables? adn why is each portion broken up in to separate foreach statements?
I just want to put a border around the entire product cell. was very very simple in 4.1. how do I do this i 4.2? |
Re: Border around products in 3 column layout.
well that was annoying :( I'll post the code if anyone is interested.
|
Re: Border around products in 3 column layout.
Sure I would be interested in seeing this please.
I am having trouble getting my head around these new layout styles in 4.2, and as you found why are some template files still not tabless. |
Re: Border around products in 3 column layout.
I just removed all of the redundant foreach loops.
Make sure you keep the old products_t.tpl This is the Code:
{* |
Re: Border around products in 3 column layout.
|
Re: Border around products in 3 column layout.
not exactly what I want.
While it mimics the appearance of what I want, I simply want one border around the product cell. This gives me partial borders around parts of the table and parts of the cells. I sometimes like to add a little cellsapcing to make them separate, then use mouse over to give them different color borders and backgrounds. Is there a functional reason why there needs to be tables and 5 foreach loops? |
Re: Border around products in 3 column layout.
Yes, it makes all items looks like them have equal height and the layout is more accurate.
I can't post complete solution since the whole products_t.tpl significally differs from original but here's some clues Code:
{foreach from=$row item=product name=cycle} |
Re: Border around products in 3 column layout.
My solution works fine for what I need. thanks for your help tho.
|
Re: Border around products in 3 column layout.
Ash did you ever figure out how to do this in 4.3?
This stupid thing wants to put a border around every element inside of each product. |
Re: Border around products in 3 column layout.
Quote:
Theres another topic I posted about this in 4.3 ( I still cannot properly figure this out, well I can but very complicated coding indeed).. I even tried Jquerry columns. I gave up and used alternative as it was holding up other things I needed doing, I will go back to it when I can get my head around it. The other topic is here that may offer you more Help > http://forum.x-cart.com/showthread.php?t=52468 |
All times are GMT -8. The time now is 09:50 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.