Scuttle link title hack

21 July 2005

When you browse tags in Scuttle, if those tags have other tags associated with them, you get a Related Tags section in the sidebar. I recently discovered the significance of the plus sign next to those related tags–it performs a boolean search by adding the related tag to the current tag(s) you’re browsing. In order to make this a little more obvious to the user, I modified the code in bookmarks.php and tags.php to include a title in the link:


<td><a href="<?= $root ."bookmarks.php/". $user ."/". $cat ."+". filter($row['category'],'url') ?>" title="limit search to <?= "'".$cat ."' AND " . "'". filter($row['category']) . "'" ?>">+</a></td>

So, if you’re browsing “social bookmarking” and hover over the plus sign next to “academic” in the Related Tags section, you’ll see limit search to ’social bookmarking’ AND ‘academic’ as a tooltip. If you keep digging down and hover over the plus sign next to “hosted”, the tooltip says limit search to ’social bookmarking+academic’ AND ‘hosted’. Check it out.

Leave a Reply