[ic] how to use an more-list on an loop-search tag

Kevin Walsh kevin at cursor.biz
Mon Aug 28 20:17:49 EDT 2006


marko.kuzio at minimix.kochan.de wrote:
> is it possible to use the more-list tag to an
> loop-search construct, or is only possible with
> the loop-list tag?
> 
You can use [more-list] inside the [loop search] tag body text if you
like.  here's a quick (and hopefully working) example:

    [loop
        more=1
        search=|
            st=db
            fi=products
            ra=yes
            ml=5
    |]
    [on-match]
        [L]Results found, as follows[/L]:<br>
    [/on-match]

    [no-match]
        [L]No results found.[/L]<br>
    [/no-match]

    [list]
        [loop-code], [loop-description], [loop-price]<br>
    [/list]

    [more-list]
        Results [matches] of [match-count] shown<br>
        [more]<br>
    [/more-list]
    [/loop]


See the following pages for more information:

    http://www.interchange.rtfm.info/icdocs/tags/loop.html
    http://www.interchange.rtfm.info/icdocs/Looping_tags_introduction.html

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/


More information about the interchange-users mailing list