We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13428 ☆ A M B ☆
    • 1,031 Posts
    Uploaded the new version with a few fixes to the repository.
      • 7319
      • 21 Posts
      Hi, thanks for the great plugin. I have a question however smiley

      I want to build an repository of Tooltips based on chunks. This doesn’t seem to work though.

      If I use something like


      {{tooltipChnukname}} 



      and try to put the tooltipX call in the chunk like this


      {=tooltip Heading:tooltip Description:=}


      the Mootools Tooltip won’t show up. It just shows me the linktitle.

      So is there some way to use tooltipX within chunks?



        • 13428 ☆ A M B ☆
        • 1,031 Posts
        The Plugin walks through the page in OnLoadWebDocument and looks if there is a tooltip call on the page and insert the javascripts in the head at this moment. The problem you have found is that chunks are not merged at this moment and the javascripts aren’t set.

        Two possible solutions:
        - Modify the plugin by changing the the case ’OnLoadWebDocument’ part and load the javascripts by default (remove the if (preg_match...) clause).
        - Insert one tooltip call outside of one chunk.

          • 7319
          • 21 Posts
          Thanks Jako, works like a charm.