开发者

Joomla Tooltip in Custom Component

开发者 https://www.devze.com 2023-01-19 07:22 出处:网络
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开发者_运维技巧

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:

  1. You have an error in your JavaScript that prevents tooltip from initializing. FireBug will help you to find JavaScript errors.
  2. You did not include tooltip behavior. Make sure you added JHTML::_('behavior.tooltip'); to function display($tpl = null) method of your view.
0

精彩评论

暂无评论...
验证码 换一张
取 消