X-cart v4: remove home.php

how to remove home.php of v4.6.4 completely?
If you need to change the link of your web-site’s logo, from /home.php to /, just modify this file:

common_files/customer/head.tpl

– find this code:
<code>
<div class=”logo”><a href=”{$catalogs.customer}/home.php”><img src=”{$ImagesDir}/xlogo.gif” alt=”” /></a></div>
</code>

and change it to:

<code>
<div class=”logo”><a href=”{$catalogs.customer}/”><img src=”{$ImagesDir}/xlogo.gif” alt=”” /></a></div>
</code>

For custom skins, you may also need to modify another template files in a similar way, for example:

2-columns/customer/head.tpl
artistictunes_business/customer/head.tpl
vivid_dreams_lotus/customer/head.tpl

For custom skins, you may also need to modify another template files in a similar way, for example:

2-columns/customer/head.tpl
artistictunes_business/customer/head.tpl
vivid_dreams_lotus/customer/head.tpl

2. if you need to change the link from /home.php to / in bread crumbs, just modify this file:

postauth.php

– find this code:
<code>
if (!empty($lbl_site_path)) {
$location[] = array(
$lbl_site_path,
‘home.php’,
);
}
</code>

and change it to

<code>
if (!empty($lbl_site_path)) {
$location[] = array(
$lbl_site_path,
‘./’,
);
}
</code>

 

King Php Science Welcome, you are from: 220.181.125.154