[ic] more list within loop list

Mike Heins interchange-users@interchange.redhat.com
Fri Apr 19 15:10:01 2002


Quoting Tim B?ckers (tim@integranet.cl):
> hi all,
> the interchange "blackbox" is troubling me again, this time with the 
> [more-list][more][/morelist] set of tags.
> I figured how to make it work within a search-region, and within a search 
> from a loop tag.
> However, if I try the following:
> [loop list="C0001, C0002, C0003, C0004" ml=2 more=1]
> [list]
>      [loop-field title]<br>
> [/list]
> [more-list]
>        <BR>[more]<BR>
> [/more-list]
> [/loop]
> I get output which suggests a more-list that would work okay -ie. 1 2 Next - 
> only that the href's it produces link to the "same" page - Meaning: the hrefs 
> themselves are different from another but the output the target pages produce 
> is the same.

This will only work with [loop search="...."], not a fixed list.

If you can place the codes in a file called products/codes.txt, one
per line, you can do:

[loop search="
		st=text
		hs=0
		fi=codes.txt
		ra=yes
		ml=2
	    "
	more=1
]
[list]
Code: [loop-code]<br>
[/list]
[more-list]
[more]
[/more-list]
[/loop]


and all should be OK.

-- 
3005 Nichols Rd., Hamilton, OH  45013
phone +1.513.523.7621      <mike@minivend.com>

Be patient. God isn't finished with me yet.  -- unknown