![]() |
Looping
Hello All!
Below is part of my products.tpl file... what do: gt & lt stand for? Quote:
|
Greater Than and Less Than ;)
|
hahah that was simple. Thanks.
Now here is the actual looping question. Below is taken from my products_t.tpl... Quote:
It loops through ALL featured products, but I just want it to take only 3 products...any thoughts? |
Maybe this one is easier to answer...
Quote:
As of now, it prints every speed bar onto one line...like this: line1 line2 line3 line4 line5 line6 line7 line8 But I would like this: line1 line2 line3 line4 line5 line6 line7 line8 |
anyone???
|
Maybe something like this?
Code:
<table border="0" cellpadding="0" cellspacing="0" width="760px" style="margin-top: 1px; border-bottom: 1px solid #cccccc; padding-bottom: 7px;"> |
Quote:
Change the line Code:
{section name=product loop=$products} to Code:
{section name=product loop=$products max=3} |
All times are GMT -8. The time now is 03:32 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.