Forum Replies Created
-
AuthorPosts
-
Kenneth Ho
ParticipantThanks Steven. I’ll try it out, I just wanted to store an entry into another database after it gets updated on WordPress.
Kenneth Ho
ParticipantThanks, Steve. What I want to do is get the phone numbers after an update action on an entry. I tried the following:
do_action( 'cn_updated-entry',$this); function update_info( $this ) { $data = array(); $entry = new cnEntry($this); $IdIn = $entry->getId(); $data['phone_numbers'] = array( 'raw' => $entry->getPhoneNumbers( 'raw'), 'rendered' => $entry->getPhoneNumbers(), ); } add_action('cn_updated_entry', 'update_info');Whenever I examine $data[‘phone_numbers’] the array with the keys ‘raw’ and ‘rendered” seem to show empty values for both keys. Can you tell me what’s wrong?
-
This reply was modified 8 years, 9 months ago by
Steven Zahm. Reason: Cleanup up code formatting to make it easier to read
Kenneth Ho
ParticipantMaybe my source of confusion is the entry ID is not the same as the number that I assigned when using the custom entry order plugin? I was expecting the entry ID to reflect the number I assigned when using the custom entry order after exporting the entries to a csv file but I guess that’s not true? Also if I want to update an entry I should use the the entry ID and not the number I for custom entry order?
Kenneth Ho
ParticipantThanks for the help. I would like to try the beta regardless. I bought the power pak recently. Do you need my email or do you have a record of it already. Thanks
Kenneth Ho
ParticipantWould something like your example at https://sscit.org/ help? If so, can I get the beta to try?
Kenneth Ho
ParticipantSorry, my mistake, I think I was looking at the wrong category. There are some extra users in another category that accounts for the 15.
-
This reply was modified 9 years, 2 months ago by
Kenneth Ho.
05/25/2017 at 11:12 pm in reply to: Updating Phone Directory Profile Picture Programmatically #424164Kenneth Ho
ParticipantCould you tell me the exact format for the entries in the option column of the primary table?
05/18/2017 at 11:21 am in reply to: Updating Phone Directory Profile Picture Programmatically #423415Kenneth Ho
ParticipantThanks Steven. It’s helpful, When is the next update of connections?
-
This reply was modified 8 years, 9 months ago by
-
AuthorPosts
