Working behind an existing site or under construction index.html
Posted: Sun Jul 13, 2008 6:35 pm
I work behind existing sites or have a parked page or under construction index.html in the root and have been frustrated with the View Site link in the admin always going to the index.html, well the nice guys in the IRC have given me a solution and here it is...
I the folder lib/classes find first .php, class.admintheme.inc.php and on line 829 find...
'viewsite'=>array('url'=>'../','parent'=>-1,
And change it to...
'viewsite'=>array('url'=>'../index.php','parent'=>-1,
Good to go, may have to clear cache in admin and browser but it worked for me even with the new theme...
I the folder lib/classes find first .php, class.admintheme.inc.php and on line 829 find...
'viewsite'=>array('url'=>'../','parent'=>-1,
And change it to...
'viewsite'=>array('url'=>'../index.php','parent'=>-1,
Good to go, may have to clear cache in admin and browser but it worked for me even with the new theme...