[ic] more question

Kevin Walsh kevin at cursor.biz
Thu Aug 21 16:58:30 EDT 2003


> 
> This code not display the [more_list] part.
> 
> [query
> prefix=sql
> ml=5
> more=1
> sql="select departement, rubrique, prix, sens, titre, views, code from
> [fichiers-code]
>  where
>  initial_status = 'confirmee'
>  and
>  actual_status = 'En ligne'
>  order by last_confirmed desc"
> type=list]
> [sql-list]
> bla-bla-bla
> [/sql-list]
> 
> [more_list]
> This part is not displayed
> [/more_list]
> 
> [/query]
> 
> I'm missing something... But can not find what...
> (there are more than 5 results).
> 
The very first example on the [query] page of the Interchange Tags
Reference is of direct relevance to what you are trying to do.

The example code shows that your [sql-list]...[/sql-list] should read
[list]...[/list].  There is no need for "prefix=sql", by the way, as
that is the default.  If you want to change [list] to something else
then use the list_prefix parameter, which is also explained further
down on the [query] documentation page.

    http://www.interchange.rtfm.info/docs/rtfm_ictags.html

Good luck.

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



More information about the interchange-users mailing list