Closed medrockstar closed 10 years ago
hello medrockstar,
have a look at the screenshot attached to this issue: https://github.com/jbeuckm/drupal-client/issues/10. it shows a profile update function. it works much like when you create a node with custom fields.
note that there are some problems with checkboxes, taxonomy terms and entity reference fields and the values are not entered on the drupal side when sent from the app. so when you have those fields in your drupal site, you need to workaround this. im using rules for that - my take is that rules is genereally the way to go when it comes to developing apps as it allows the app to be as lightweight as possible and to outsource all the business logic onto the server (and rules).
an example: if you have a switch in titanium (e.g. in the user profile settings of the app) with the values "true" or "false" you need to create a "placeholder" TEXT field (until checkboxes are working) in the drupal backend and create a rule that does what you want depending on the value (true or false) that is returned by the user.
hope this helps.
Hi Joe,
Can you provide an example that can update user info ?
Tks