Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#8 | services_resource-963986-8.patch | 5.5 KB | Deciphered |
#8 | interdiff.txt | 3.38 KB | Deciphered |
#4 | services_resource-963986-4.patch | 3.19 KB | Deciphered |
#2 | services_integration-963986-2.patch | 3.49 KB | Deciphered |
content_profile_service.zip | 1.53 KB | japanitrat |
Comments
Comment #1
marcingy CreditAttribution: marcingy commentedServices only includes code related to core - moving this to the appropriate project
Comment #2
Deciphered CreditAttribution: Deciphered commentedRe-rolled as a patch.
Comment #3
Deciphered CreditAttribution: Deciphered commentedLooks (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,
Comment #4
Deciphered CreditAttribution: Deciphered commentedPatch for Service 3.x integration.
Comment #5
Deciphered CreditAttribution: Deciphered commentedForgot to mark as 'Needs review'
Comment #6
budalokko CreditAttribution: budalokko commentedIt worked fine for me.
Comment #7
Deciphered CreditAttribution: Deciphered commentedFeel free to mark as RTBC if you think it's working fine, the code is all good and you think it should be committed.
Comment #8
Deciphered CreditAttribution: Deciphered commentedUpdated 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.