Quote:
Originally Posted by qualiteam
Insert this code into <xcart_dir>/smarty.php script:
PHP Code:
function replace_home_php_links($tpl_source, &$smarty)
{
global $xcart_web_dir;
return str_replace("\"home.php\"", "\"$xcart_web_dir\"", $tpl_source);
}
$smarty->register_outputfilter("replace_home_php_links");
right before this code fragment:
PHP Code:
$smarty->config_dir = $xcart_dir . $smarty_skin_dir;
|
Thank yu for teh code, however this is not working in the admin backend.
if you install this code, then in the admin backend the home link will be the same as the following link.
so for example:
Home :: General Setting
in this case, if you mouse over the Home link, then you will see in the bottom of browesr that the link will say:
admin/configuration.php
Same link if you were to mouse over the "general setting" breadcrumb setting.
Anyway, it would be nice if you could provide a way to correct that issue.
Thank you.