How to create custom 404 error page

valpenguin

No avatar

2007-03-20 16:30

I can create one page 404?

» Quick.Cart v2.x

treewood (OpenSolution)

Avatar: treewood

2007-03-20 16:49

valpenguin - yes it is possible. First add category as 404 error to hidden type like here:
1. http://opensolution.org/Quick.Cart/forum/?p=readTopic&nr=2589
2. after edit index.php and find:

if( !isset( $aData['sDescriptionFull'] ) ){
  
$iCategory  $config['contact_page'];
  
$aData      throwCategory$iCategorytruetrue );
}

and replace this

$iCategory  $config['contact_page'];

to

$iCategory  22// id Your 404 error category


Works?

valpenguin

No avatar

2007-03-21 12:12

I try, many thanks ;)

Back to top
about us | contact