Peter van Westen
ADMIN
The first alpha version of Tooltips for Joomla 4 is available:
regularlabs.com/development-releases
Differences with the Joomla 3 version
Tooltips for Joomla 4 has been completely rewritten. This means there are quite some differences to the Joomla 3 version.
Themes & Styles
Tooltips for Joomla 4 now comes with themes and styles.
The default Theme is 'Light'.
If you want to give a tooltip a color, this no longer is done via a class attribute, but with a style attribute.
For instance, you can do:
{tip title="..." content="..." theme="dark" style="red"}...{tip}
{tip title="..." content="..." theme="light" style="success"}...{tip}
Fade and Zoom effects
The Pro version allows you to choose the effect used to show/hide the tooltip.
Different CSS
The HTML output and DOM elements generated by Tooltips are different on Joomla 4 than they were on Joomla 3.
This means that all CSS has been changed too. Your custom CSS for Tooltips on Joomla 3 will not work on Joomla 4.
If you want to customize the look and feel on Joomla 4 too, you will need to rewrite your CSS.
No more jQuery
The javascript for Tooltips has been rewritten from the ground up, using vanilla (pure) javascript. It is no longer reliant on jQuery or other javascript libraries.
This should also mean that there should be less to no more conflicts with other extensions (like template frameworks that load a bunch of their own javascripts and libraries).
No editor button
The current version of Tooltips for Joomla 4 no longer comes with an editor button. An editor button might be added to a later version, but to me it doesn't really seem very necessary at this moment.
Other settings
Some of the global settings have been changed. Mainly some settings for specific styling have been removed. Styling can and needs to be done via CSS.
Browse through the system plugin settings to see if there is anything you use that has been changed.
Removal of support for old syntax
The old syntax has been deprecated quite a while in the Joomla 3 version, for the attribute syntax.
So instead of:
{tip Text in Tooltip}...{/tip}
You need to do:
{tip content="Text in Tooltip"}...{/tip}
The Joomla 3 version still supported the old syntax. But the Joomla 4 version doesn't.
So you need to use the attribute syntax.
Bulk replacing syntax
If you need to change certain things in your {tip} tags to get things to work how you want, you can use DB Replacer to replace things in a few clicks.
regularlabs.com/dbreplacer
Please post a rating at the
Joomla! Extensions Directory