PDA

View Full Version : Opening admincp in new window


Hawk7173
10-05-2012, 02:07 PM
How would one go about doing this?

Thanks in advance!

Brandon Sheley
10-05-2012, 02:37 PM
right click, open in new tab?
or add target="_blank" to your admincp link if you want it automated

Hawk7173
10-05-2012, 02:57 PM
How would I add it to the link? I would like it to be automated?

navbar template?

Brandon Sheley
10-05-2012, 03:17 PM
likely footer

Hawk7173
10-05-2012, 04:25 PM
I have this in my footer.....

<vb:if condition="$show['modcplink']"><li><a href="{vb:raw admincpdir}/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase mod}</a></li></vb:if>

Where would I insert the target="_blank" ?

TheSupportForum
10-05-2012, 04:41 PM
I have this in my footer.....



Where would I insert the target="_blank" ?



<vb:if condition="$show['modcplink']">
<li><a href="{vb:raw admincpdir}/index.php{vb:raw session.sessionurl_q}" target="_blank">{vb:rawphrase mod}</a></li></vb:if>

Hawk7173
10-05-2012, 05:14 PM
Here is what I have and it draws a 500 error when I try the link

<vb:if condition="$show['admincplink']"><li><a href="{vb:raw admincpdir}/index.php{{vb:raw session.sessionurl_q}" target="_blank">{vb:rawphrase admin}</a></li></vb:if>

TheSupportForum
10-05-2012, 05:23 PM
Here is what I have and it draws a 500 error when I try the link

<vb:if condition="$show['admincplink']"><li><a href="{vb:raw admincpdir}/index.php{{vb:raw session.sessionurl_q}" target="_blank">{vb:rawphrase admin}</a></li></vb:if>


you have this

/index.php{{

change to

/index.php{

Hawk7173
10-05-2012, 05:49 PM
OOOPS! All fixed. Thanks for the help!