• b2evo
  • Front Page
  • Contact
  • Login
  • reset page

Far Fields

  • Andromeda ¦ First Contact
  • Blush ¦ Private
  • Dad ¦ Private
  • Vyaj ¦ Immigration & Asylum Cases

Near Fields

  • My Bits
  • Behind the Sceanic
  • vOw ¦ Vegan Organic Wholefood

Old Fields

  • 1996 Site
  • Old Search Site

Blogs

  • b2Evo ¦ Blog techie stuff
  • eLf ¦ Updates on the land
  • blInk ¦ Some useless links
  • spAce ¦ Thoughts on being
  • j&j ¦ Prospectors of Kern
  • av0id ¦ How I Got Here

Add target option to LinkUpdated: October 4th, 2018

Created: 10/01/14

v 6.10.3
Have made a copy of the quicktags plugin >> _myhtmltags.plugin.php
Removed a few header comments and the modified line is now
Line 446
See below for former hack


Links:
I have added a prompt to request a target when creating links. I have made [_self] the default value.

There is no need to enter the underscore [_], that is hard coded, so any target value will be prefixed with an underscore. So just need to enter 'blank' for example

/plugins/_qucktags.plugin.php

Line 451 in versions: 6.9.3 to 6.10.2
From:

PHP

b2evoButtons[i].tagStart = '<a href="' + URL + '">';

To:

PHP

b2evoButtons[i].tagStart = '<a href="'  + URL + '" target="_'+ prompt('target','self') + '">';

  roger
print   Print     
 
  •  Paged Index of 133 Posts

  • Last nineteen

    • Add html figure tag
    • Validation 7.2.5
    • elfgifs_plugin
    • Add sub text button
    • [autocorrect] validation
    • Versions & Database
    • Math Terms & Plugin
    • My Search Hack
    • figure tag
    • evobar toolbar
    • Front Page Collections #
    • Move to a new line using CSS not <br />
    • Version 6.10.6 & php 7
    • Stuck on Version 6.10.5
    • Limit Login Attempts
    • 6.10.5
    • Add Number to Comment
    • 6.10.4
    • v 6.10.*
  • Search


Valid HTML 5.0    ubuntu link    duckduckgo link    b2evolution link    firefox link    Creative Commons Licence    Valid CSS!