Hi locatenil,
Joomla Plugins and ChronoForms Plugins are two completely different things (confusing I know, sorry). The Plugins tab in the form manager will have no effect on the YooToolTip plugin.
I assume that you are putting this code into the Form HTML box? If so then it must be inside <?php . . . ?> tags - that might explain why you are seeing the code block.
I hae no idea if YooToolTip will then run . . . turn on 'Enable Mambots' in the form General Tab and see what happens.
Bob
thankyou for reply.
well, it works but as the code is getting parsed instead of rendered form so its printing yooTooltip only 1 time. because tooltip tag is included in code itself 1 time.. it will actually add tooltip multiple times only if form is rendered completely before applying joomla plugin.. as i can understand, onPrepareContent of joomla plugin takes whatever inside the textbox and replaces tags with the code.. i was expecting a way so joomla plugin appled only after form in rendered.
Hi locatenil,
Looking at the code I agree it would make more sense for the Joomla mambots/plugins to be run after the Form HTML is evaluated. It looks as though it might be possible with some ChronoForms core hacks but at present the output of the Form HTML evaluation goes straight to the browser.
Sorry not to be more help right now.
Bob
instead of hacking chrono, i hacked yootooltip joomla plugin.. i removed the onPrepareContent event and called the function manually and passed the text to be processed. by this method i can pass part of the content instead of passing full form/page. it works well..
thanks by the way,
Hi locatenil,
That sounds neat - well done.
Bob
Hi, I think that a good solution here is to make a new Chronoform plugin to run Joomla mambots on form Load, it may be enhanced to have a list of all Content plugins to select or unselect any!
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi All,
I have tried using the standard {yootooltip} and it fails miserably, the balloon doesn't show up. Could anyone tell me how to use Yootooltip inside a Chronoform. I have found the onPrepareContent and am stuck, could spend a couple of days messing about getting it working but as it's been done already why re-invent the wheel.
Thanks
Hi sabsoft,
Do you have "Enable mambots" set to 'Yes' on the Form General tab?
Bob
Hi GreyHead,
Sorry i didn't have mambots turned on, never tried it before but now i know. Now i get an object not found on this line:-
<div id="yoo-tooltip-1" class="yoo-tooltip-toggler">Privacy Policy</div><script type="text/javascript">new YOOtooltip('yoo-tooltip-1', 'sdsfsdf', { mode: 'cursor', display: 'inline', width: 250, style: 'default', sticky: 0 });</script>
Any ideas would be great, i will potter about with it today to see what i can do.
Thanks, Stephen
Hi Stephen,
I don't know anything much about YooTips. I'd guess that the main YooTips script isn't loading, or isn't loading before it's called here.
Bob
Well you both helped me with almost the same problem, who I am to buy a beer to? 😀