[Joomla 3] TypeError: $(...).tooltip
 
Balonar 3. avg 2013 18:20:00 Pridružen od:
27. jan 2008
2350 objav
2609 255 41
#1

Zdravo



Ena izmed extensioons mi ne deluje pravilno, ker administrator template ISIS (template.js) proizvaja error:



TypeError: $(...).tooltip is not a function



v vrstici 13, ki pravi



$('*[rel=tooltip]').tooltip()



any idea? tole je men kvantna fizika :)



Hvala


všeč(0) ni všeč(0) spam(0)
 
technolog 3. avg 2013 19:35:12 Pridružen od:
14. nov 2011
598 objav
768 300 22
#2

Po moje nimaš includanega tega jQuery plugina. Oz - ga maš includanga šele po tistem, ko se skripta že izvede.


všeč(0) ni všeč(0) spam(0)
Z linuxom že 7 let. Pro web development.
 
Balonar 3. avg 2013 19:53:16 Pridružen od:
27. jan 2008
2350 objav
2609 255 41
#3

no idea .. tole je template.js


/**
* @package Joomla.Administrator
* @subpackage Templates.isis
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @since 3.0
*/

(function($)
{
$(document).ready(function()
{
$('*[rel=tooltip]').tooltip()

// Turn radios into btn-group
$('.radio.btn-group label').addClass('btn');
$(".btn-group label:not(.active)").click(function()
{
var label = $(this);
var input = $('#' + label.attr('for'));

if (!input.prop('checked')) {
label.closest('.btn-group').find("label").removeClass('active btn-success btn-danger btn-primary');
if (input.val() == '') {
label.addClass('active btn-primary');
} else if (input.val() == 0) {
label.addClass('active btn-danger');
} else {
label.addClass('active btn-success');
}
input.prop('checked', true);
}
});
$(".btn-group input[checked=checked]").each(function()
{
if ($(this).val() == '') {
$("label[for=" + $(this).attr('id') + "]").addClass('active btn-primary');
} else if ($(this).val() == 0) {
$("label[for=" + $(this).attr('id') + "]").addClass('active btn-danger');
} else {
$("label[for=" + $(this).attr('id') + "]").addClass('active btn-success');
}
});
})
})(jQuery);
všeč(0) ni všeč(0) spam(0)
 
Matjaž 3. avg 2013 20:12:03 Pridružen od:
21. sep 2007
3505 objav
2603 308 45
#4

Poskusi še z admin predlogo hathor. Osebno jo še raje uporabljam, ker je malce hitrejša (ni pa najlepša).


všeč(0) ni všeč(0) spam(0)
 
Balonar 3. avg 2013 20:44:57 Pridružen od:
27. jan 2008
2350 objav
2609 255 41
#5

v tem je fora, da je nimam naložene .. pa sem jo iskal, da bi jo dal gor :(


všeč(0) ni všeč(0) spam(0)
 
Balonar 3. avg 2013 20:45:49 Pridružen od:
27. jan 2008
2350 objav
2609 255 41
#6

imel sem quickstarter template in očitno so vrgli ven Hathor


všeč(0) ni všeč(0) spam(0)
 
Balonar 3. avg 2013 21:10:08 Pridružen od:
27. jan 2008
2350 objav
2609 255 41
#7

ahh .. na serverju je bil Hathor .. sem moral dati Discover in install ..


všeč(0) ni všeč(0) spam(0)
 
Balonar 4. avg 2013 06:24:03 Pridružen od:
27. jan 2008
2350 objav
2609 255 41
#8

Našel sem scripto, ki povzroča error .. od JoomlaWorks


všeč(0) ni všeč(0) spam(0)
 
 

🔒 Za odgovor na to temo se moraš prijaviti.

Prijavi se