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.

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>
  • Thanks @shrish... i m already using services views.. how can i add fields to the view – Daya Jun 3 '14 at 9:44
  • sorry, I got it wrong, services entity in only for D7 – shrish Jun 3 '14 at 9:44
  • I have updated the answer :) – shrish Jun 3 '14 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 Jun 3 '14 at 13:40
  • Navigate to [your-site]/admin/build/views/add – shrish Jun 4 '14 at 3:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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