Recent Topics

1 Jan 07, 2006 19:14    

How can I change the interface buttons so when I add a new post and click on the "Link" button it adds the code to open links in a new window?

http://www.sizzor.net

2 Jan 07, 2006 19:22

If you crack open plugins/_quicktags.php and find this segment and add the red bits it should do what you want :-

function b2evoInsertLink(myField, i, defaultValue) {
if (!defaultValue) {
defaultValue = 'http://';
}
if (!b2evoCheckOpenTags(i)) {
var URL = prompt('<?php echo T_('URL') ?>:' ,defaultValue);
if (URL) {
b2evoButtons

.tagStart = '<a href="' + URL + '" target="_blank">';


Please note :- this is will not validate as xhtml strict.

¥


Form is loading...