[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[ic] RE: Your errors...
John,
Here's what my cfg says.
SpecialPage flypage flypage
SpecialPage catalog index
SpecialPage checkout __ORDER_STYLE__/checkout
SpecialPage order __ORDER_STYLE__/basket
SpecialPage search results
SpecialPage results results
SpecialPage report ../etc/report
SpecialPage receipt ../etc/receipt
It's also based on "area", I think as the following code is further down in
my cfg:
/);
sub {
my ($find, $exclude, $default) = @_;
my $ref = $Vend::Session->{History}
or return $Tag->area($default || $Config->{SpecialPage}{catalog});
my ($hist, $href, $cgi);
$exclude = qr/$exclude/ if $exclude;
for(my $i = $#$ref; $i >= 0; $i--) {
#Log("checking $ref->[$i][0] for $exclude");
if ($exclude and $ref->[$i][0] =~ $exclude) {
next;
}
if($find) {
next unless $ref->[$i][0] =~ /$find/;
}
($href, $cgi) = @{$ref->[$i]};
last;
}
return $Tag->area($default || $Config->{SpecialPage}{catalog})
if ! $href;
my $form = '';
for(grep !$var_exclude{$_}, keys %$cgi) {
$form .= "\n$_=";
$form .= join("\n$_=", split /\0/, $cgi->{$_});
}
return $Tag->area( { href => $href, form => $form} );
}
-----Original Message-----
From: John Beima [mailto:jbeima@reality.palb.com]
Sent: Wednesday, October 04, 2000 6:34 PM
To: vdpeters@bellsouth.net
Subject: RE: Your errors...
Look for a section near the end that defines "SpecialPages".. The
order/checkout
page should be, if I recall correctly "ord/checkout.html" and the
order/basket
page should be "ord/basket.html". I would have to look up the results
setting,
but I think they are just point to the wrong are for some reason...
John Beima
Quoting Vanessa <vdpeters@bellsouth.net>:
> Thanks!!! I'll look into them.
>
> -----Original Message-----
> From: John Beima [mailto:jbeima@reality.palb.com]
> Sent: Wednesday, October 04, 2000 4:46 PM
> To: Vanessa
> Subject: Your errors...
>
>
> G'Day Vanessa,
>
> I took a quick look at your site and found a few things...
>
> Your missing search and order pages are errors in configuration in your
> catalog.cfg file.
>
> You also need to remove some areas and catgorgies from the original
> demo, so
> that all these blank items stop showing up.
>
>
> John Beima
> jbeima@palb.com
>
> P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
>
John Beima
jbeima@palb.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users