PDA


View Full Version : admicpc links open in new windows


dc1pop
05-26-2005, 09:45 PM
Hi,

I have done all the edits and installed the code. However now when i log in to the admincp i get all the cms options but the navbar is the only part that loads so i dont get none of the options open in the same page and all the links on the navbar open a new page. My code looks like this for the admincp:

construct_nav_spacer();

// *************************************************

construct_nav_option($vbphrase['default_settings'], 'vba_cmps_admin.php?do=modifysettings');
construct_nav_option($vbphrase['edit_modules'], 'vba_cmps_admin.php?do=listmodules');
construct_nav_option($vbphrase['add_module'], 'vba_cmps_admin.php?do=addmodule');
construct_nav_option($vbphrase['edit_pages'], 'vba_cmps_admin.php?do=listpages');
construct_nav_option($vbphrase['add_page'], 'vba_cmps_admin.php?do=addpage');
construct_nav_group($vbphrase['vba_cmps']);

construct_nav_spacer();
$printhr = false;
if (can_administer('canadmincalendars'))


If i replace the admincp with the original admincp file it works fine. Please can anyone help ??

Thanks!

Brian
05-26-2005, 10:07 PM
Get a copy of the original file and re-apply the changes with Notepad.

dc1pop
05-26-2005, 10:16 PM
cool it worked think il only use notepad from now on :)

Thanks for such a cool cms :P