You are here

README.txt in Web Service Clients 7.3

Remove views block resource
===========================

This is provided as an example of implementing resources.

To use a remote View as a block:

- enable Views Services module (part of Services 2.x; at http://drupal.org/project/services_views for Services 3.x)
- enable the views.get method on your Services API key / endpoint
- create a new resource, specifying:
  - the block delta and title
  - the view machine name
  - the display machine name
  - arguments to pass, if any

The block will then be available like a normal Drupal block.

File

resources/clients_resource_remote_views_block/README.txt
View source
  1. Remove views block resource
  2. ===========================
  3. This is provided as an example of implementing resources.
  4. To use a remote View as a block:
  5. - enable Views Services module (part of Services 2.x; at http://drupal.org/project/services_views for Services 3.x)
  6. - enable the views.get method on your Services API key / endpoint
  7. - create a new resource, specifying:
  8. - the block delta and title
  9. - the view machine name
  10. - the display machine name
  11. - arguments to pass, if any
  12. The block will then be available like a normal Drupal block.