Remove Tool Tip

You made an own skin or theme for phpMyFAQ. You can share it here with others!

Moderator: Thorsten

Post Reply
AndyE
Posts: 17
Joined: Thu Jul 09, 2015 10:43 am

Remove Tool Tip

Post by AndyE »

Hi Guys,

Anybody know how to remove the tool tips from the answers? I dont want it to link to the glossary at all....

Thanks in advance,

Andy
Thorsten
Posts: 15559
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Remove Tool Tip

Post by Thorsten »

Hi,

which version do you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
AndyE
Posts: 17
Joined: Thu Jul 09, 2015 10:43 am

Re: Remove Tool Tip

Post by AndyE »

Hi,

Version 2.8.24

Thanks
Andy
Thorsten
Posts: 15559
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Remove Tool Tip

Post by Thorsten »

Hi,

open assets/template/default/index.tpl and remove

Code: Select all

<script>
    $('.topten').tooltip();
    $('.latest-entries').tooltip();
    $('.sticky-faqs').tooltip();
</script>
at the end of the file.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
AndyE
Posts: 17
Joined: Thu Jul 09, 2015 10:43 am

Re: Remove Tool Tip

Post by AndyE »

I have checked that file and cant see that section of code in there anywhere?

Am I going mad?
Thorsten
Posts: 15559
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Remove Tool Tip

Post by Thorsten »

Hi,

sorry, that was for version 2.9, for 2.8 it's in artikel.tpl. Please remove

Code: Select all

            <script>
                $(function(){
                    $('abbr[rel="tooltip"]').tooltip();
                });
            </script>
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
swguy
Posts: 16
Joined: Sun Dec 09, 2018 2:38 am
Contact:

Re: Remove Tool Tip

Post by swguy »

In 2.9.11, it seems like you have to modify ./inc/PMF/Glossary.php and remove the for loop in insertItemsIntoContent(). Just removing the JS from the template didn't do it.
Post Reply