Search code examples
.nethtmlsitefinitysitefinity-5

Tooltip Showing Metadata for Target


I am using Sitefinity CMS to build my website; for certain pages I use metadata like title and description which I enter through Sitefinity. If someone hovers over a menu item and it has metadata then it is shown in the tooltip.

I know that the reason for this is that whenever Sitefinity publishes a page it associates all possible data in all possible places - in the link that it generates the tag has a title="" element.

I have no idea how to turn this feature off. I cannot manually cut out the metadata from the link and I still want the metadata associated with the page for search engines. Does anyone know an easy way to stop or modify this feature?


Solution

  • I ended up solving the problem by using

    $("document").ready(function() {
    $(".rsmItem a").attr("title", "");
    });
    

    and linking to jQuery beforehand. The problem was that Sitefinity was not updating the page late enough, the script to remove titles would run but not update anything that loaded after the script ran. I hope that if someone else has a similar problem this helps them out as well.