View Full Version : Delete > Homepage::
Murat Altun
July 13, 2010, 01:18 PM
Hello,
it's not positive for a google-listing to use the text "Homepage::" before the sitename.
How can I delete this phrase/ text?
Best regards and thanks,
Thomas
Didier Dulex
August 2, 2010, 05:35 AM
Hello,
it's not positive for a google-listing to use the text "Homepage::" before the sitename.
How can I delete this phrase/ text?
Best regards and thanks,
Thomas
Hello Thomas,
you should change code in 2 files.
please go to: includes/controllers/common.inc.php and find at line ~113
/* get bread crumbs */
$bread_crumbs = $rlCommon -> getBreadCrumbs( $page_info );
and change it to:
/* get bread crumbs */
if($page_info['Controller'] == 'home')
$bread_crumbs = $rlCommon -> getBreadCrumbs();
else
$bread_crumbs = $rlCommon -> getBreadCrumbs( $page_info );
then go to includes/classes/rlCommon.class.php and find line ~168
$bread_crumbs[] = array(
'name' => $cPage['name'],
'title' => $cPage['title'],
'path' => $cPage['Path']
);
and change it to:
if($cPage)
{
$bread_crumbs[] = array(
'name' => $cPage['name'],
'title' => $cPage['title'],
'path' => $cPage['Path']
);
}
please apply this code and let me know about results. 8-)
Murat Altun
August 5, 2010, 02:35 PM
Hello Viktor,
thanks for your resonse. I'll check it directly at the weekend
and send you my feedback.
Best regards,
Thomas
Powered by vBulletin® Version 4.1.9 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.