PDA

View Full Version : Miscellaneous Hacks - AdminCP & ModCP open in new window/tab


lordtopcat
02-16-2008, 10:00 PM
Hi Guys,

This small modification will make your Administration Control Panel & Moderator Control Panel open up in a new window/tab when you click on the link. I find this useful especially when I am editing templates and can quickly switch between the two links.

Very simple instructions, just two edits.

FIND in footer template
<a href="$admincpdir/index.php$session[sessionurl_q]">

REPLACE with
<a href="$admincpdir/index.php$session[sessionurl_q]" target="_blank">

FIND in footer template
<a href="$modcpdir/index.php$session[sessionurl_q]">

REPLACE with
<a href="$modcpdir/index.php$session[sessionurl_q]" target="_blank">

I know the mod isn't much, but it is very helpful at times :)

Internet Explorer 7 users: If you want it to open up in a new tab instead of window, do the following:
Go to 'Tools' -> 'Internet Options' -> 'Settings' under 'Tabs'
Change 'When a Pop up is encountered' from 'Open in a new window' to 'open in a new tab'.

Regards
LTC

lordtopcat
02-17-2008, 12:41 AM
First Post Reserved

bokmade
02-17-2008, 01:01 AM
Open A tab ?

It just Open new windows in IE ..!!

lordtopcat
02-17-2008, 01:14 AM
I am sorry you are experiencing problems.

This problem is actually a problem with your options in Internet Explorer 7, and not my modification.

Go to 'Tools' -> 'Internet Options' -> 'Settings' under 'Tabs'

Change 'When a Pop up is encountered' from 'Open in a new window' to 'open in a new tab'.

Please click install if you like my modification :)
Cheers
LTC

iogames
02-17-2008, 05:33 AM
Maybe u can help me... :(
Do you remember or do you know how to show 'Forum Home Page' within/frame of AdminCP? does anybody remember the mod? searching for months :confused:

Straightupimp
02-17-2008, 10:32 AM
thanks alot i always have to right click and open in new tab really helpful thanks

bokmade
02-17-2008, 01:36 PM
Thanks ..

Install ..

iogames
02-17-2008, 03:40 PM
thanks alot i always have to right click and open in new tab really helpful thanks

Ctrl+T ?

lordtopcat
02-17-2008, 07:41 PM
Yes that works too iogames, but isn't just clicking the link once much easier ?

howard30
02-17-2008, 07:51 PM
Maybe u can help me... :(
Do you remember or do you know how to show 'Forum Home Page' within/frame of AdminCP? does anybody remember the mod? searching for months :confused:

Thats default and should be there all the time...

Bl4z3
02-26-2008, 11:11 AM
Yes that works too iogames, but isn't just clicking the link once much easier ?

Ctrl + Click

Easiest thing in the world.

thenutthouse
03-30-2008, 02:55 PM
I am using Firefox 3 beta 4 and all it does is open new windows, not tabs. :(

Boofo
03-30-2008, 03:02 PM
This messes up the little contacts and attachment upload windows, by the way. Not a real good solution.


Internet Explorer 7 users: If you want it to open up in a new tab instead of window, do the following:
Go to 'Tools' -> 'Internet Options' -> 'Settings' under 'Tabs'
Change 'When a Pop up is encountered' from 'Open in a new window' to 'open in a new tab'.

bennac40
04-12-2008, 05:43 PM
Love It "Installed"

JadedSouls
05-11-2008, 01:18 PM
works like a charm!

theparentpack
05-12-2008, 08:54 AM
Thanks for the shortcut. I was recently diagnosed with Carpal Tunnel syndrome. One less click for me! Installed! Thanks so much!

Conner85
08-16-2008, 07:08 AM
worked great thanks..vb3.7.2

PHILLYFAN
08-19-2008, 02:07 AM
thank you

gsmlover4u
01-17-2011, 08:55 AM
it will work with vb 4

UweS
07-14-2011, 05:59 PM
Is it possible to modify it, to work again on VB4.1.x?! Thanks!