1. CodersEden Marketplace for designers and developers

Easy way to disable tooltips?

Discussion in 'Tips and tricks' started by Nick Thacke, Oct 12, 2019.

  1. Nick Thacke

    Nick Thacke Member

    Joined:
    Aug 29, 2019
    Messages:
    38
    Likes Received:
    5
    S.E:
    2020-02-27 13:39:18
    L.T:
    Regular
    L.C:
    1
    We're going to implement new tooltip text throughout the installation... is there an easy way to disable all of the built-in ones?

    Thanks,
    Nick
     
  2. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,667
    Likes Received:
    2,473
    @Nick Thacke - You can include a file called app-custom.js in /assets/js folder, and mailwizz will auto-load it. There you can place code to kill existing tooltips (they are bootstrap tooltips) and instantiate yours.
     
  3. Nick Thacke

    Nick Thacke Member

    Joined:
    Aug 29, 2019
    Messages:
    38
    Likes Received:
    5
    S.E:
    2020-02-27 13:39:18
    L.T:
    Regular
    L.C:
    1
    Great — thank you! (To anyone else reading this wondering why I'm moving to a different tooltip thingy, it's really just shiny-object syndrome: AppSumo has a deal on Tooltip.io at the time of this writing).
     
  4. Nick Thacke

    Nick Thacke Member

    Joined:
    Aug 29, 2019
    Messages:
    38
    Likes Received:
    5
    S.E:
    2020-02-27 13:39:18
    L.T:
    Regular
    L.C:
    1
    My install is not loading app-custom.js...
     
  5. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,667
    Likes Received:
    2,473
    @Nick Thacke - Right, because my instructions were wrong, i am sorry about that.
    The file must go in /backend/assets/js and in /customer/assets/js
     
  6. Nick Thacke

    Nick Thacke Member

    Joined:
    Aug 29, 2019
    Messages:
    38
    Likes Received:
    5
    S.E:
    2020-02-27 13:39:18
    L.T:
    Regular
    L.C:
    1
    Ah, no problem.! I’ll try that!
     
  7. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,667
    Likes Received:
    2,473
    Yeah, please do. I'll be around for the next 30 minutes to make sure we get a resolution here ;)
     

Share This Page