Page 1 of 1

Working behind an existing site or under construction index.html

Posted: Sun Jul 13, 2008 6:35 pm
by Dr.CSS
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...

Re: Working behind an existing site or under construction index.html

Posted: Sun Jul 13, 2008 8:34 pm
by kermit
i just use an admin shortcut whenever this bugs me (which ain't that often, as once a tab with front-end is loaded, it tends to stay there, so just a refresh will do).

Re: Working behind an existing site or under construction index.html

Posted: Sun Jul 13, 2008 8:39 pm
by Dr.CSS
I believe it may be added to 1.4...

Re: Working behind an existing site or under construction index.html

Posted: Wed Jul 16, 2008 5:30 pm
by Pierre M.
mark wrote: I believe it may be added to 1.4...
I'd like it.

Pierre