Change link for View Site in the admin panel

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
SUUD6501
Forum Members
Forum Members
Posts: 46
Joined: Wed Aug 22, 2007 8:43 am

Change link for View Site in the admin panel

Post 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
alby

Re: Change link for View Site in the admin panel

Post 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
SUUD6501
Forum Members
Forum Members
Posts: 46
Joined: Wed Aug 22, 2007 8:43 am

RESOLVED: Change link for View Site in the admin panel

Post by SUUD6501 »

many thanks
It's works now
Post Reply

Return to “CMSMS Core”