Saturday, May 11, 2013

Modifying SemanticScuttle to open a new window

One of the annoying things in SemanticScuttle is that clicking on a listed link opens that link in the current window. This is easily fixed:

  1. Find bookmarks.tpl.php and open it in your favorite text editor.

  2. Fidn the line containing the word "taggedlink" and add the following (inside of the href brackets):  target="_NEW"


The line should look something like:

    <a href="'. htmlspecialchars($address) .'"'. $rel .' target="_NEW">'

That's it. Clicking on a link should now open the listed bookmark in a new tab or window (depending on how you have your browser configured).