| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Border around products in 3 column layout. | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() 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?
__________________
xcart 5.1.2 |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() well that was annoying
![]()
__________________
xcart 5.1.2 |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() 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.
__________________
XC 4.2 inc (unofficial) patch release. |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() I just removed all of the redundant foreach loops.
Make sure you keep the old products_t.tpl This is the Code:
__________________
xcart 5.1.2 |
|||||||||
#5
|
|||||||||
|
|||||||||
![]()
__________________
Regards, Victor Dubiniuk X-Cart Skins Store ![]() - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() 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?
__________________
xcart 5.1.2 |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() 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:
__________________
Regards, Victor Dubiniuk X-Cart Skins Store ![]() - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#8
|
|||||||||
|
|||||||||
![]() My solution works fine for what I need. thanks for your help tho.
__________________
xcart 5.1.2 |
|||||||||
#9
|
|||||||||
|
|||||||||
![]() 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. |
|||||||||
|
#10
|
|||||||||
|
|||||||||
![]() 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
__________________
Thank You - Alan Don't be like me, and keep saying "Nearly did it" go do it!! Version: 4.4.4 Gold - |
|||||||||
|
|||
X-Cart forums © 2001-2020
|