• download
  • documentation
  • forums
  • demo
  • contact
  • blog

meteora

javascript widgets

Documentation

  • Autocomplete
  • Bubble
  • Calendar
  • Carousel
  • Datagrid
  • Dialog
  • Editor
  • Effect
  • Filebrowser
  • Form
  • Jsonrpc
  • Menu
  • Notebook
  • Picbox
  • Popup
  • Searchlist
  • Selection
  • Spinbutton
  • Tablesort
  • Toolbox
  • Treeview
In order to post messages on this forum, you must be registered and logged in
80x80:1760834185_unknown.png
Forums » General » Help for beginners

Unable to load from Plugins Directory

Posted by makotoninja

I just downloaded and setup Meteora and found I was unable to load file from the Plugins directory, so just to test, I included a file from each of the Meteora directories as so:

Meteora.uses('Meteora.Form'); Meteora.uses('Plugins.Accordion'); Meteora.uses('Plugins.Scroller'); Meteora.uses('Native.Array'); Meteora.uses('Selectors.Selectors'); Meteora.uses('Utilities.DomReady'); Meteora.uses('Request.Request'); Meteora.uses('Fx.Scroll'); Meteora.uses('Element.Element'); Meteora.uses('Drag.Drag'); Meteora.uses('Core.Browser'); Meteora.uses('Class.Class');

and I get two failures with an alert: Plugins.Accordion Unknown dependency. Selectors.Selectors Unknown dependency.

I am not really sure what is going wrong here, any thoughts?

  • Wednesday July 29, 2009 @ 18:54 date
  • makotoninja user
50x50:1760834185_unknown.png
link Thursday July 30, 2009 @ 00:14

comment makotoninja

Well, I found I could stop the error by appending the dependencies in the meteora.js file. I saw in the Accordion.js file that it “Extends: Fx.Elements”, although there is no such file so the addition I made to the dependencies was from:

'Plugins': { 'Sortables': [ 'Drag.Move' ]

to

'Plugins': { 'Sortables': [ 'Drag.Move' ], 'Accordion': [ 'Element.Element' ]

this stopped the “Unknown Dependencies” error and I see now that Accordion.js does load now, however it throws the following error:

arguments.callee.parent is not a function

Accordion.js Line 32: “arguments.callee.parent(params.elements, params.options);”

I don't know if I'm even going in the right direction here by appending the dependencies but I'd really like to get this to work.

50x50:1760834185_unknown.png
link Thursday July 30, 2009 @ 13:23

comment makotoninja

I tried setting up an earlier version (0.6) of Meteora to see if it worked and as it doesn't throw any errors, it seems the plug-ins (only been testing with Accordion) are still not working.

Here is a test page using mootools with mootools-more Accordion:

http://donkeymillartcenter.org/new/temp.php

And the same page with mootools omitted and Meteora implimented:

http://donkeymillartcenter.org/new/temp.php?meteora=true

Firebug doesn't generate any errors, so I'm not sure what to do now…

Copyright © 2007-2009 Astrata Software.