PDA

View Full Version : remove home.php


La Clede
2015-11-25, 08:20 AM
how to remove home.php of v4.6.4 completely?
i think www.loupesusa.com is better without home.php

Padroni
2015-11-25, 08:22 AM
if you need to change the link from /home.php to / in bread crumbs, just modify this file:

postauth.php

- find this code:


if (!empty($lbl_site_path)) {
$location[] = array(
$lbl_site_path,
'home.php',
);
}



and change it to


if (!empty($lbl_site_path)) {
$location[] = array(
$lbl_site_path,
'./',
);
}

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:



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


and change it to:


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



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