网络营销电子商务研究中心

网络营销电子商务研究中心 (https://www.0058.net/index.php)
-   X-Cart (https://www.0058.net/forumdisplay.php?f=70)
-   -   remove home.php (https://www.0058.net/showthread.php?t=5336)

La Clede 2015-11-25 08:20 AM

remove home.php
 
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:

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


All times are GMT +8. The time now is 11:00 AM.

Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.