Page 1 of 1
[solved] Change admin interface link...
Posted: Thu Oct 25, 2007 3:35 am
by Dr.CSS
How would I change the admin link 'View Site' to point to site.com/
index.php, I work on sites with index.html in front till going live with CMSMS driven site and if I need to view changes and click it I get site.com/index.html...
I would like this as default...

Re: Change admin interface link...
Posted: Fri Oct 26, 2007 2:19 am
by jmcgin51
not 100% sure, but I think it's in defaultTheme.php, lines 258 - 262
if ($menuItem['url'] == '../index.php')
{
$iconSpec = 'viewsite';
}
echo '';
hope this is somewhat close...
Re: Change admin interface link...
Posted: Fri Oct 26, 2007 3:45 am
by Dr.CSS
Thanx but that's not it...
Re: Change admin interface link...
Posted: Fri Oct 26, 2007 12:32 pm
by Pierre M.
May be around line 825 in lib/classes/class.admintheme.inc.php :
Code: Select all
// base view site menu ------------------------------------
'viewsite'=>array('url'=>'../','parent'=>-1,
'title'=>$this->FixSpaces(lang('viewsite')),
'description'=>'','show_in_menu'=>true, 'target'=>'_blank'),
If so, 'url'=>'../index.php' could do it ?
Pierre
Re: Change admin interface link...
Posted: Fri Oct 26, 2007 7:08 pm
by Dr.CSS
That's it... Thanx....
mark