Hey, guys. Back again. We have a need that calls for allowing certain users (doctors) to edit another's (patient's) specified data. I'd like to know what special quirks (if any) there are for creating a CB controller and/or model to send form data to for editing and saving.
Alternatively I suggest just making those users site moderators. You can set what usergroups are moderators within CB configuration.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Let me rephrase. The doctors are already moderators. They can go onto a CB user's profile page and edit specific data. We created a controller to retrieve this data and placed it in the 'controllers' folder outside of the 'plugin' folder of the com_profiler component. However, we need to know how to send that data to the controller. The form is located in com_profiler->plugin->templates->default->default.php. The standard hidden inputs of option, controller, and task (within the form) do not seem to be working:
You're wanting to make a post to an external component? Don't understand what you're trying to do. If modifications were made to CB please remove them. You can make additions to CB or act on its various data using triggers as explained in the following tutorial.
If you need to update a database of an external component you can do this with incubator project CB Queries on the triggers after registration and profile edit.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Ah, my bad. Where I typed 'com_profiler' I meant to put 'com_comprofiler' to represent the CB component. We actually were able to get everything to work, so no worries anymore (for now). Thanks for your patience and all the help.