News:

Support the VirtueMart project and become a member

Main Menu

Tool tip layout

Started by edk, September 28, 2018, 08:59:16 AM

Previous topic - Next topic

edk

I hope I'm posting this in the right place. I have tool tips on custom fields, but the content is also showing style attributes. (see attached)

I'm running Joomla 3.8.12 and Virtuemart 3.4.0.

jenkinhill

With current VM versions you can't use html tags in tooltips.  eg see in http://demo.virtuemart.net/
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

edk

Thanks Kelvyn, but I only entered plain text.

Ghost

True. VM uses Joomla's method to generate tooltip but doesn't load tooltip JS. If your template uses Bootstrap, create a layout override where tooltip is displayed and add this:

JHtml::_('bootstrap.tooltip');

edk


jjk

#5
Looks identical to this: https://forum.virtuemart.net/index.php?topic=129850.0, but I don't know any better explanation of how to do that. Never tried it myself.
Perhaps try this: https://www.regularlabs.com/extensions/tooltips
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

edk

Thanks everyone.

Added
JHtml::_('bootstrap.tooltip');
directly to the customfields.php
file and solved the problem.