[ic] Arbitrary table listings via [page] tag

Kevin Walsh interchange-users@icdevgroup.org
Mon Sep 2 08:19:02 2002


> > >I cannot generate a similar list with:
> > >
> > >[page scan
> > >     fi=ecomposers
> > >     ac=yes
> > >     bs=yes
> > >     st=db
> > >     sf=composer
> > >     se=B
> > >     su=yes
> > >     ra=yes
> > >     rf=all
> > >     tf=composer
> > >     sp=test
> > >     ]My link
> > >[/page]
> > >
> > >which generates:
> > >
> > >../cgi-bin/buywellic2/scan/fi=ecomposers/ac=yes/bs=yes/st=db/sf=composer/se
> > >=B/su=yes/ra=yes/rf=all/tf=composer/sp=test.html
> > >
> > >I have been unable to resolve the following problem despite many hours
> > >reading the manuals and the forum messages and would appreciate any help you
> > >can give.
> > >
> > Richard, is it safe to presume that you duplicated the code within the 
> > search-region in your test.html just as you can find in the results.html 
> > file?  Specifically, do you have the search-list tags as well the error 
> > processing for no-matches?
> >
> > If so, you must be seeing something...
> >
> Since receiving your reply I have done as you suggested, replacing the code 
> between the search-list tags of a working results.html file but the results 
> are the same.
> 
> With [item-field composer] I get blank lines equal to the number of matches 
> I would expect instead of composer names.
> 
That'll be the problem then.  [item-field] reads data from the "products"
table by default (ProductFiles directive in catalog.cfg).

Change [item-field composer] to [item-data ecomposers composer] or add
appropriate column names to the "rf" search spec. and use [item-param].

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