[ic] Default file in pages subdir

Stefan Hornburg Racke interchange-users@icdevgroup.org
Thu Aug 1 04:01:05 2002


"Rene Hertell" <interchange-users@hertell.com> writes:

> > Autoload <<EOS
> > sub {
> >     $url = $Session->{last_url};
> >     $url =~ s%^/cgi-bin/cart.cgi/%%;
> >
> >     if (-d "/cat/whatever/$url") {
> >         $CGI->{mv_nextpage} = "$url/index.html";
> >     }
> > }
> > EOS
> 
> Thanks Racke!
> 
> I assume that this should be in the catalog.cfg..

Yes.

> 
> 
> Rene
> 
> btw. Is it possible to create a dynamical Autoload and ActionMap, so that it
> can be managed through a bd and without restarting the catalog?

You can pull in parameters from a database (with 
[perl tables="..."]...[/perl] in the Autoload), if this is sufficient
for you.

Ciao
        Racke

-- 
Prolific Interchange Consulting (Excellent German Quality !).
Take a look at Materialboerse (http://www.materialboerse.de/), WITT 
(http://www.witt-weiden.de/), Boxmover (http://shop.boxmover.ch/) or 
Passionshop (http://www.passionshop.com/racke). Need a shop ? Contact us.