Hi Folks,

Any chance of a status update? How is this going? I'm hoping to use something like DojoX charting in a Drupal website - ideally fetching data from a REST server instead of being supplied by Drupal.

I'd be interested in helping or testing if you need it.

Comments

alexmc’s picture

Well, I don't know if it is "best practice", but I have a demo page at http://fake.owal.co.uk/dojotest/1
I'm trying to learn more about Dojo to do better AJAX.

freelock’s picture

Hi,

I need to be more diligent about watching the issue queues!

I'm actively adding support for AMD definitions right now, should have something working in the next week or so. Then I'll likely be doing a Drupal 7 port.

One key thing I'm building is a hook so you can define module paths to your own Javascript. And then you can just require() your own modules and be off and running.

Also looking for a good interface for bootstrapping whatever you want to have happen at page load. Suggestions welcome...

freelock’s picture

Status: Active » Fixed

Ok, this module has gone entirely AMD, and given that nobody's using it yet, I'm dropping support for older Dojo versions/conventions. There are 4 crucial things you'll need to get this working on a Drupal 6 site:

  • dojo_toolkit_load_dojo() -- load Dojo from code, if you're sure it's not already there. You can use the module configuration page to specify paths to load or exclude.
  • hook_dojoconfig() -- specify paths for your own module code.
  • dojo_toolkit_require() -- pre-load modules to make them available for declarative Dojo widgets, or to use in bootstrap functions. This can now be populated as a configuration setting.
  • dojo_toolkit_addonload() -- add some bootstrapping Javascript, and use modules required in the head. This can now be populated as a configuration setting.

Let me know if you have any suggestions, or feedback from using this!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.