[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] why isn't my loop-data being interpolated?
Here's something strange... or at least unexpected to me. Can someone
figure out why this doesn't work? It displays properly but the the
[loop-data] tag in the <a href> does not interpolate or reparse (i've
tried using both) at all. The strange thing is the [sql-param]
interpolates correctly.
mike k.
---=Begin code snippet=-------------------------------------
[query sql="select code, name, selector from area order by sort"
type=list]
[list]
<b>[sql-param name]</b><br>
[loop prefix="catlist" search="
fi=cat
se=[sql-code]
sf=sel
tf=sort
rf=code,name
" interpolate=1]
[on-match]
<a href="[area href=scan
arg="
fi=products
st=db
co=yes
sf=category
se=[catlist-data cat name]
os=yes
sf=prod_group
se=[sql-param name]
os=yes
" interpolate=1]" class="maintext">[catlist-data cat
name]</a><br> [catlist-alternate 2]</tr><tr>[/catlist-alternate]
[/on-match]
[no-match][/no-match]
[/loop]
[/list]
[/query]
---=End code snippet=--------------------------------