superles / gii-template-collection

Automatically exported from code.google.com/p/gii-template-collection
0 stars 0 forks source link

YiiTab in FullCrud not working with Yii 1.1.8 #45

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open FullCrud in gii

What is the expected output? What do you see instead?
No JavaScript Errors.

Please use labels and text to provide additional information.
JavaScript Error:
yiitab is not a function

I am pretty clueless, but I would guess this has to do with the jQuery update?!

Original issue reported on code.google.com by schm...@usrbin.de on 14 Jul 2011 at 7:59

GoogleCodeExporter commented 8 years ago
fwiw: works for me using a fresh install of yii-1.1.8.r3324 plus gtc

Original comment by jonnyk...@gmail.com on 30 Jul 2011 at 4:42

GoogleCodeExporter commented 8 years ago
I have the same problem... any idea?

Original comment by czarneck...@gmail.com on 4 Aug 2011 at 7:46

GoogleCodeExporter commented 8 years ago
No, not really. I often had problems with YiiTab after upgrades, but in this 
case I do not even have a clue :(

I've replaced the CTabs with CJuiTabs recently, so you may grab the latest 
version from svn, but I have little issues with the toolstips now.

Am 04.08.2011 um 09:46 schrieb gii-template-collection@googlecode.com:

Original comment by schm...@usrbin.de on 4 Aug 2011 at 8:18

GoogleCodeExporter commented 8 years ago
Sorry, I applied the fixes on the github mirror ...
https://github.com/schmunk42/gii-template-collection

Original comment by schm...@usrbin.de on 4 Aug 2011 at 8:22

GoogleCodeExporter commented 8 years ago
We also use CJuiTabs and my boss found a solution for tooltips:

.ui-tabs {
    padding: 0.2em;
    position: relative; <--- delete this line :) and it works :D
}

Thanks for your response,
Zbigniew Czarnecki
eCreo Multimedia

Original comment by czarneck...@gmail.com on 4 Aug 2011 at 11:53

GoogleCodeExporter commented 8 years ago
There's a conflict between tools.tooltip-1.2.5.min.js from Gii and 
jquery.yiitab.js from Yii. If the former is executed, $().yiitab function from 
the latter magically disappears.

It's hard to tell what's going on, because the file is minimized. I've 
downloaded jQuery Tools (limited to tooltip) from 
http://flowplayer.org/tools/download/index.html , put it in the place of old 
tools.tooltip-1.2.5.min.js and the problem disappeared.

Original comment by athar...@gmail.com on 30 Oct 2011 at 5:36