Joomla Tooltip in Custom Component
I am creating a custom MVC component in Joomla and want to use tooltip to provide more information for specific field. I found this tutorial on Joomla docs website showing how to use too开发者_运维技巧ltip.
I followed the tutorial as close as possible but after page loads my tooltip is not display properly.
I see My Title::My Description... blah blah blah
Does anyone know what could be causing this? I do not even know where to look for the problem. I am a beginner with MVC, it is very confusing for me.
What you see is title of span around the tooltip image, in format Title::Description
This can happen if:
- You have an error in your JavaScript that prevents tooltip from initializing. FireBug will help you to find JavaScript errors.
- You did not include tooltip behavior. Make sure you added
JHTML::_('behavior.tooltip');
tofunction display($tpl = null)
method of your view.
精彩评论