PDA

View Full Version : including files for quicktips



4myGod
30 Dec 2009, 9:43 PM
I am warn out. I have spent now several hours with this. In my site I use dragable boxes and quicktips. I have used the "Build your own!" link on the ext site, which only allows 2.3.1 or below. My friend has created forums I am implementing using ext 3.0 though and has manually built his ext core adding text-metrics.js on the side.

I need both his code to work and mine. So I am trying to include files that he doesn't have that I will need to use QuickTips.

It's not working, I am sure it's because I don't have the files in the right order or I don't have enough files.

Here are my files not including the core:
$this->addJs('lib/js/ext/src/ComponentMgr.js');
$this->addJs('lib/js/ext/src/Component.js');
$this->addJs('lib/js/ext/src/BoxComponent.js');
$this->addJs('lib/js/ext/src/Container.js');
$this->addJs('lib/js/ext/src/Panel.js');
$this->addJs('lib/js/ext/src/Tip.js');
$this->addJs('lib/js/ext/src/ToolTip.js');
$this->addJs('lib/js/ext/src/QuickTip.js');
$this->addJs('lib/js/ext/src/QuickTips.js');

Here are my errors:

Ext.util.Mixed Collection is not a constructor
var all = new Ext.util.MixedCollection();\n (Component.js line 23)

Ext.reg is not a function
[Break on this error] Ext.reg('component', Ext.Component);\n

Ext.reg is not a function
[Break on this error] Ext.reg('box', Ext.BoxComponent);\n

Ext.reg is not a function
[Break on this error] Ext.reg('container', Ext.Container);\n

Ext.reg is not a function
[Break on this error] Ext.reg('panel', Ext.Panel);\n

Ext.dd is undefined
[Break on this error] Ext.extend(Ext.Tip.DD, Ext.dd.DD, {\r\n

Ext.isString is not a function
[Break on this error] }else if(config.tagName || config.do...xt.isString(config)){ // element object\n