I would like this as default...
[solved] Change admin interface link...
[solved] Change admin interface link...
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...
I would like this as default...
Last edited by Anonymous on Fri Oct 26, 2007 7:09 pm, edited 1 time in total.
Re: Change admin interface link...
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...
if ($menuItem['url'] == '../index.php')
{
$iconSpec = 'viewsite';
}
echo '';
hope this is somewhat close...
Re: Change admin interface link...
Thanx but that's not it...
-
Pierre M.
Re: Change admin interface link...
May be around line 825 in lib/classes/class.admintheme.inc.php :
If so, 'url'=>'../index.php' could do it ?
Pierre
Code: Select all
// base view site menu ------------------------------------
'viewsite'=>array('url'=>'../','parent'=>-1,
'title'=>$this->FixSpaces(lang('viewsite')),
'description'=>'','show_in_menu'=>true, 'target'=>'_blank'),
Pierre
Re: Change admin interface link...
That's it... Thanx....
mark
mark


