Provides a service for Content Profile.

Retrieve a Content Profile node by using user ID and the desired node type. Please test, module is attached below.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

marcingy’s picture

Project: Services » Content Profile
Version: 6.x-2.2 » 6.x-1.x-dev
Component: Code » Miscellaneous

Services only includes code related to core - moving this to the appropriate project

Deciphered’s picture

Re-rolled as a patch.

Deciphered’s picture

Status: Needs review » Needs work

Looks (unsurprisingly based on the date) that this is for an older version of Services and is not compatible with Services 3.x.

Marking as needs work. Will give it a go myself, probably next week,

Deciphered’s picture

Patch for Service 3.x integration.

Deciphered’s picture

Status: Needs work » Needs review

Forgot to mark as 'Needs review'

budalokko’s picture

It worked fine for me.

Deciphered’s picture

Feel free to mark as RTBC if you think it's working fine, the code is all good and you think it should be committed.

Deciphered’s picture

Status: Needs review » Needs work
FileSize
3.38 KB
5.5 KB

Updated patch with a new services resource to update the content profile.

Marked as needs work as the old service permission is too loose as it doesn't allow granular control, ie, a user can see any users content profile, no way to restrict to only seeing their own profile.

Same permission issue exists in the new resource as it's not something I currently have the time allocated to resolve.