By LAC Webadmin on Friday, 06 February 2015
Replies 1
Likes 0
Views 887
Votes 0
Hi Mark & Team,

2 question about ES:


  1. First, regarding ES fields app_id. I created an ES integration with JEvents RSVPro by adding an option to pull all ES Custom Fields. I did this way back ES v1.2 or 1.1. Since ES can have multiple profiles and each profiles can have different number of fields, I have to filter and remove what fields are pulled in RSVPro, dropping headers, labels, etc - non essential fields. I rely on app_id for filtering but I've noticed in ES v1.3.15, app_id's has been shuffled, since I've noticed that I don't see some ES fields in RSVPro anymore. Is there any reason why app_id has to be modified in version releases?
  2. Second, with my integration to RSVPro, I can easily pull ES field values and display the data to the users but the issue is, it is a Registration Form. Since I only pull field values, users cannot modify/edit the form fields that are pulled from ES. My question is, is there a way to call ES fields in other components in a way just like a user is Editing their Profile but this time they are doing it outside of ES? That way, I don't have to redirect users to edit their Profile in ES, fill up the fields then go back to RSVPro registration form. Is this possible?


Thanks,

Jackson
Hello Jackson,

1. I believe we did not shuffle the app id because it is from the database. Can you show us the code you are using to pull the custom fields?
2. As for the getting the custom fields to show in your form, it is a bit tedious. I can only assist you which file you should see. For the display of the fields, you might want to check this file: ../components/com_easysocial/views/profile/view.html.php in line 348. And for the saving part, you can refer to this file: ../administrator/components/com_easysocial/controllers/profiles.php start from line 245.

Hope this helps.
·
Friday, 06 February 2015 17:24
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post