Hi guys !
I just installed this great script and i'm using the Pink template.
It really rocks and everything worked fine except 1 thing
when I use a link in a blog it does NOT open in a new window , i have to manual change it every time , can I change that ? so people who dont know html can blog ?
can someone help me ?
Thanks
Slettenbak,
1. [url=http://forums.b2evolution.net/viewtopic.php?t=2254&highlight=target+blank]Here's a thread[/url] that includes a JavaScript for making all links open in new windows. If you just want to change the toolbar in the posting area so that by default it adds target=_blank to the link when the user clicks the 'link' button, then you could try this (I haven't tested it.) Open up /plugins/toolbars/_quicktags.toolbar.php and find this line:
and change it to this:
I would, however, recommend that you not use taget=_blank more than you have to. With the advent of [url=http://www.getfirefox.com]tabbed browsing[/url], people who want to can open up external links in a new tab. People who don't want a new window just get annoyed or confused when you use target="_blank". And all of us have the back button, so we can find our way back to your page. Those are my two cents on the subject. Remember, if you edit the _quicktags.toolbar.php file, make a backup copy of the original file first in case you break something.
2. You can remove sections from your sidebar by editing the file /skins/whatever-skin-you-want-to-edit/_main.php . The sections for calendar, search, etc., are clearly labeled and you can delete them or comment out the parts you don't want. Again, keep a backup copy of the skin in case you delete too much.