{"id":5769,"date":"2014-04-06T20:17:56","date_gmt":"2014-04-06T20:17:56","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/06\/trouble-getting-bootstrap-tooltips-to-work-on-joomla-3-0-with-gantry-4-framework-collection-of-common-programming-errors\/"},"modified":"2014-04-06T20:17:56","modified_gmt":"2014-04-06T20:17:56","slug":"trouble-getting-bootstrap-tooltips-to-work-on-joomla-3-0-with-gantry-4-framework-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/06\/trouble-getting-bootstrap-tooltips-to-work-on-joomla-3-0-with-gantry-4-framework-collection-of-common-programming-errors\/","title":{"rendered":"Trouble getting bootstrap tooltips to work on Joomla 3.0 with Gantry 4 Framework-Collection of common programming errors"},"content":{"rendered":"<p>I am trying to enable the bootstrap tooltips in Gantry 4.<\/p>\n<p>The bootstrap javascript is loaded, as bootstrap.min.js as is jquery.<\/p>\n<p>I added the following to the index.php file just before the closing body tag<\/p>\n<pre><code>\n  $(document).ready(function () {\n    $(\"[rel=tooltip]\").tooltip();\n  });\n\n<\/code><\/pre>\n<p>I seem to have a conflict as I get the following error:<\/p>\n<pre><code>TypeError: 'undefined' is not a function (evaluating '$(document).ready(function () {\n  $(\"[rel=tooltip]\").tooltip();\n})')\n<\/code><\/pre>\n<p>The text that is supposed to trigger the tooltip is:<\/p>\n<pre><code>le cas d\u2019un mariage de longue dur\u00e9e\n<\/code><\/pre>\n<p>Can someone please point out what I need to do to resolve this? Thanks.<\/p>\n<p>Sorry, I forgot to add the link to the site and page where the tooltip is not functioning.<\/p>\n<p>http:\/\/gobet.ergonomiq.net\/divorce-s\u00e9paration\/divorce\/26-requ\u00e9rir-seul-le-divorce-apr\u00e8s-deux-ans-de-s\u00e9paration#<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am trying to enable the bootstrap tooltips in Gantry 4. The bootstrap javascript is loaded, as bootstrap.min.js as is jquery. I added the following to the index.php file just before the closing body tag $(document).ready(function () { $(&#8220;[rel=tooltip]&#8221;).tooltip(); }); I seem to have a conflict as I get the following error: TypeError: &#8216;undefined&#8217; is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5769","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5769"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5769\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}