Thread: remove home.php
View Single Post
  #2   IP: 49.87.3.169
Old 2015-11-25, 08:22 AM
Padroni Padroni is offline
初级会员
 
Join Date: 2010-07-24
Posts: 1
Padroni 现在声名狼藉
Default

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',
    );
}
and change it to
Code:
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:


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

Code:
 <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
Reply With Quote