10 Sep, 2005
Serendipity Plugin: Tooltips (Version 1.2)
Posted by: Enrico Stahn In: Uncategorized
Today i’ve completed version 1.2 of serendipity_event_tooltips. This version contains all main features from my todo list. The Tooltips style (Backgroundcolor, Foregroundcolor, …) can be configured over the plugin configuration page. Now, you can use {{“[“s9y-tooltips This is my Tooltiptext“]“Normal text“[“/s9y-tooltips“]“}} to create Tooltips.
For Bugs or Feature Request drop a comment.
”’Download”’
[http://blog.enricostahn.com/uploads/serendipity_event_tooltips_v1_2alpha.tar.gz serendipity_event_tooltips_v1_2alpha.tar.gz]
[http://blog.enricostahn.com/uploads/serendipity_event_tooltips_v1_2alpha.zip serendipity_event_tooltips_v1_2alpha.zip]
”’Install Instructions”’
# Download the {{serendipity_event_tooltips}}-Plugin
# Uninstall the old version.
# Upload the unpacked file to your {{serendipity/plugins}} directory.
# Use {{Appearance > Configure Plugins > Click here to install a new event plugin}} to install the plugin.
# Ready to go.
”’How to use Tooltips and Content Rewriter Plugin”’
[[image uploads/tooltips_demo.serendipityThumb.gif alt="Tooltips" class="alignleft"]] When i tried out the {{Content Rewriter}} Plugin i’ve got an idea how to join both plugins. In some cases you have words in your entry which should be explained. For this purpose you can use the plain -Tag how explained at the {{Content Rewriter}} Plugin configuration page. That has the disadvantage that you can’t use newlines, images or other HTML stuff. Or you use the Tooltip Plugin and do all what you want inclusive using HTML in your Tooltip.
So, how we do this? Are you familiar with the {{Content Rewriter}} Plugin configuration you don’t need a long explanation, put {{“[“s9y-tooltips “{“to“}“ s9y-tooltips-replacewithtag=”acronym”“]{“from“}[“/s9y-tooltips“]“}} in the “Rewrite string” field and add your word pairs. Otherwise follow the steps beneath.
# If the Plugin isn’t in located in your Pluginlist, go to [http://www.s9y.org/index.php?node=29 s9y.org] and download it. The best way is to download [http://www.netmirror.org/mirror/serendipity/additional_plugins.tgz all plugins] and put their in your plugin directory.
# Use your administration panel ({{Appearance > Configure Plugins > Click here to install a new event plugin}}) to install the Content Rewriter Plugin.
# Configure the Plugin as followed: Plugin-Title = Content Rewriter, Rewrite string = {{“[“s9y-tooltips “{“to“}“ s9y-tooltips-replacewithtag=”acronym”“]{“from“}[“/s9y-tooltips“]“}}, New Title = Test, New Description = This is a Tooltip., Entry Body = Yes, Extended Body = Yes
# Save
Now you have to install the {{serendipity_event_tooltips}} plugin if you haven’t it already done.