Hello. I am trying to add an extra input to the group creation form to write to the SQL (*I understand that I need to add an SQL table value as well to make it work).
I was able to edit the appropriate xml and group_edit.php, but what file do I may need to edit to add in the code that defines what type belongs to the $input?
Example:
I think I have searched all of the files, but I just don't see anything that relates to it. Can you please point me to the correct file? This is for Group Creation and not Event Creation as I have already figured that part out.
Adding to the input array won't output anything. The array is used to pass from core code to the template the various inputs. If you're editing the template directly then just directly add your HTML to it, no need to add to input array.
This really should be done using an integration plugin in the same way you see the various integrations inputs when editing a group. Review existing integrations to see how this is done (basically purely through trigger usage).
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.
The site is starting to come together pretty well thanks to CB! I've been experimenting with the triggers as suggested. They are all working great!
I currently have a second registration form setup so the first part registers a user and the second page creates a new group depending on the users selection.
I have been messing more with the groupjive auto actions and would like to suggest for a future build to possibly add in some options that will allow for expansion of the program. In other words, you have the ability to sync up things like 'Group Name' and 'Group Description' which is awesome. My users can create a new group easily and fill in all of the custom info they are required to have.
What would be cool is if you could sync up other CB fields that would be editable from the front end group edit as well. Somehow designate them as 'groupjive' fields or something. Then when a user selects the group from the frontend to edit, they can change these two values easily with the group description. Currently to update something like a custom group contact information (group phone for instance), they will need to go back and edit the registration page info instead of just being able to edit the entire groups custom info in a single location. It would be convenient to allow the phone or other custom field with the group info as well. Not something I need, but just throwing it out there. Perhaps a 'show / hide' toggle next to the field.
It's an easy fix for now as for my purposes I will just edit group_edit.php and throw a line of text in there somewhere that says something like "To edit the groups contact information, please contact the group creator to edit these settings from the CB Profile Edit page".
Just thought it would be a nice addition to GroupJive Auto Actions! Other than that I think the triggers all work as suggested. Thanks!