Page 1 of 1

Change link for View Site in the admin panel

Posted: Tue Nov 27, 2007 9:06 am
by SUUD6501
HI,
By default, View Site link in the admin panel links to default page. My default page is a connection page (I mean with username, password) and I would like to keep it as default page.
My question is : I would like to change View Site link to another page as "home.php" for example.
I tried to modify code in the "menu.php" (line 77 in the code). To do so, I delete code below
query($query);
if ($result && $result->RecordCount() > 0)
{
$row = $result->FetchRow();
if ($row['content_alias'] != '')
{
echo "../" . $row['content_alias'] . $config["page_extension"];
}
else
{
echo "../" . $row['content_id'] . $config["page_extension"];
}
}
else
{
echo "../index.php";
}
}
else
{
echo "../index.php";
}

?>
and put my link "http://www.site.com/home.php" instead but no results, nothing !!

I really appreciate if someone can help me
Have a good day
Sylvie

Re: Change link for View Site in the admin panel

Posted: Tue Nov 27, 2007 9:56 am
by alby
SUUD6501 wrote: By default, View Site link in the admin panel links to default page. My default page is a connection page (I mean with username, password) and I would like to keep it as default page.
My question is : I would like to change View Site link to another page as "home.php" for example.
have you look this?

Alby

RESOLVED: Change link for View Site in the admin panel

Posted: Tue Nov 27, 2007 12:54 pm
by SUUD6501
many thanks
It's works now