Drupal.service() [json_load] not loaded
| Project: | Collect Nodes |
| Version: | 5.x-2.1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
ciao,
I'm interested in the module, and I'm trying to get it working.
After setting up a test view, I get the collect button but an error occur because Drupal.service function isn't inserted in the js code of the page.
I've inserted a call to json_load() function in theme_collect_nodes_client_js(), and now I get it working.
My doubt is in the two requests to json_server, that in firebug look like
1) system.connect
http://localhost/,/,/,/,/,/,/?q=services/json&api_key=.....&method=syste...
2) collect_nodes_service.request_status_batch
http://localhost/,/,/,/,/,/,/?q=....
the response in both cases is
{ "status": false, "data": "Invalid method " }
It work, but is this the correct way to proceed?
(Yes, I'm not so "in" in service module, I hope to resolve by my self)
Congratulations for your work :)
thanks for help,
luca
