Closed (works as designed)
Project:
DrupalGap
Version:
7.x-1.x-dev
Component:
Module Code
Priority:
Minor
Category:
Support request
Assigned:
Reporter:
Created:
23 Mar 2012 at 10:50 UTC
Updated:
29 Mar 2015 at 21:34 UTC
Jump to comment: Most recent
Comments
Comment #1
tyler.frankenstein commentedThanks for pointing this out. In the past I have tried indicating a dependency for views_datasource, but then when enabling drupalgap via drush, drush complains about there is no module called views_datasource (which is technically true, since the project is called views_datasource, but the sub-module we need is actually called views_json). Also, when indicating a dependency on views_datasource, it isn't possible to enable the module at all, because again there is no module called views_datasource.
If anyone knows how to write the .info file to correct for this dilemma, please let me know.
Comment #2
socialnicheguru commentedSince this is not really a fix and means that the module can't even be enabled in Drupal 7, should this still be active or needs work?
Comment #3
tyler.frankenstein commentedThe module can be enabled in Drupal 7. Follow the readme instructions or the online documentation. The project dependency is called views_datasource, but the module dependency mentioned in the .info file is called views_json, which is a sub module of views_datasource. If you know how to write a module .info file to get around this so Drush can figure it out, by all means, please share the knowledge. See comment #1 for more information about the problem, I still don't know how to get around it. I just install DrupalGap the old fashion way, unfortunate, but do-able.
Comment #4
socialnicheguru commentedI see it now.
I had to download views_datasource which has views_json within it.
Comment #5
tyler.frankenstein commentedIn closing...
The multi-step approach Views JSON (a sub module of Views Datasource) is with the following Drush commands:
Note, you would also of course have to enable the Services and Rest Server modules before enabling DrupalGap. Please refer to the DrupalGap Documentation for more information on installation instructions.
Comment #7
ssoulless commentedPlease add this to the documentation of the module installation
https://www.drupal.org/node/1603690
Comment #8
ssoulless commentedsrry mistake
Comment #9
tyler.frankenstein commented