It's very simple.. You should use this plugin: http://opensolution.org/download,pl,18.html?sFile=Quick.Cart/plugins/archive/productsInRow_v1.2.zip and modify it a little. Open file plugins\productsInRow\productsInRow.php and find this line:
This change will be harder to do.. But of course possible here is the solution: First You have to install plugin "productsInRow" here is the link: http://opensolution.org/download,pl,18.html?sFile=Quick.Cart/plugins/productsInRow_v1.5.zip. After that .. In file core/products.php in function "listProducts" below the line: $aData['iStyle'] = ( $i % 2 ) ? 0: 1 paste this line: $aData['tStyle'] = $i % 3; After that You have insert new variable in file templates/pages_default.tpl in block "PRODUCTS_LIST" in the beggining code should look like this:
<li class="l$aData[sStyle] i$aData[tStyle]">
Now some changes in styles.. In file templates/plugins.css (there were some lines added because of installation of plugin). Whole declarations should look like this:
I think this should work if I didn't forget about sth..
MisterM
2008-08-11 22:59
Thank you Makaron. It's all great, but in Internet Explorer, the images doesn't look to good if they are different sizes. Any ideeas why?
(here's my example: http://import.atelierelecujas.ro/diverse,19.html )
Thank you.
begreg
2009-03-29 03:57
ile probowalem znalezc problem w $aData['tStyle'] = $i % 3; jakos mam tylko i0 i i1 klase do produktow dodana -> <li class="l1 i1"></li> <li class="l2 i0"></li> <li class="l3 i1"></li> <li class="l4 i0"></li> <li class="l5 i1"></li> <li class="lL i0"></li>