1. "Fabrik 4" helpers needed!

    You are invited to join other community members active in coding, maintaining and improving Fabrik. Please visit https://fabrik.help for more information!
    Dismiss Notice

Mootools in Fabrik 4

Discussion in 'Bugs, Issues & Suggestions' started by Slacker, Jan 23, 2023 at 8:51 PM.

  1. Slacker

    Slacker New Member

    Level: Community
    I think Mootools is removed in Joomla 4, but in Fabrik 4 Mootools is present. I have found out that Tooltips does not work in Fabrik 4 due to a conflict with Mootools. When I deleted mootools-core.js in Fabrik media/com_fabrik/js/dist tooltips worked, but not the calculations that were more important for me.
     
  2. troester

    troester Well-Known Member Staff Member

    Level: Community
    Which tooltips are not working?

    Mootools is heavyly used in Fabrik. Getting rid of it is on the to-do list (@henk already started) but this is a very big task for a later version.
     
  3. Slacker

    Slacker New Member

    Level: Community
    I have Regularlabs Tooltips installed for Joomla 4 and it worked with Joomla 3.10 and before. The tooltips is in a radiobutton element with 6 alternatives.
     
  4. troester

    troester Well-Known Member Staff Member

    Level: Community
    As a workaround you can add a Fabrik tooltip to the radio element (i.e. one "big" tooltip, not one per radio option).
     
  5. Slacker

    Slacker New Member

    Level: Community
    I searched for info about Fabrik tooltips, but I did not find anything. I need just one big tooltip per element.
     
  6. wezetel

    wezetel Member

    Level: Community
    For the radio button element you'll find the tooltip under publishing -> Tips

    upload_2023-1-24_14-52-51.png
     
    troester and lousyfool like this.
  7. Slacker

    Slacker New Member

    Level: Community
    Thanks! I found it. The pop up was narrow, but it should be possible to fix with css.
     
  8. Slacker

    Slacker New Member

    Level: Community
    I have got it working now by putting this in custom.css for my template (it did not work in Fabriks custom.css)

    .tooltip-inner {
    min-width: 100px;
    max-width: 80%;
    }
     

Share This Page