0

i am using drupal 6.x, added five star(fivestar module) rating functionality to a node in my site. Everything working fine but i want to users rated data in drupal json services for mobile development, In json services i m getting nodes every data except rating.. so can you please help me. How can i get the users rating data in json services(Services_view module).

Thanks in advance.

1 Answer 1

0

You can use Services views module to achieve this,

Procedure :

Using services views you will need to add all your required fields on your views.

Step 1: For adding new view navigate to

[your-site]/admin/structure/views/add

enter image description here

Step 2: Adding your fields

enter image description here

You will fetch the resource as below,

http://example.com/<endpoint path>/views/<view name>
5
  • Thanks @shrish... i m already using services views.. how can i add fields to the view
    – Daya
    Commented Jun 3, 2014 at 9:44
  • sorry, I got it wrong, services entity in only for D7
    – shrish
    Commented Jun 3, 2014 at 9:44
  • I have updated the answer :)
    – shrish
    Commented Jun 3, 2014 at 9:52
  • thanks for your update but i m using drupal 6.26 version, in that there is no structure path in it.
    – Daya
    Commented Jun 3, 2014 at 13:40
  • Navigate to [your-site]/admin/build/views/add
    – shrish
    Commented Jun 4, 2014 at 3:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.