altsupport
Chevereto Member
Hoping someone can help point me in the right direction. I want to add another field on the profile page (settings/profile) for an instagram username.
I added the input label below and added the column user_insta in the users table in the database. It displays properly after i manually enter the text directly into the database but when I click Save Changes it does not write back to the database. I can't find the code for writing back to the database on this form.
<div class="input-label">
<label for="insta"><?php _se('Instagram'); ?></label>
<input type="text" name="insta" id="insta" class="text-input" value="<?php echo get_user()["insta"]; ?>" data-validate rel="tooltip" title="<?php _se('Instagram Username'); ?>" data-tipTip="right" placeholder="<?php _se('Instagram Username'); ?>">
<span class="input-warning red-warning"><?php echo get_input_errors()["insta"]; ?></span>
</div>
Thanks
I added the input label below and added the column user_insta in the users table in the database. It displays properly after i manually enter the text directly into the database but when I click Save Changes it does not write back to the database. I can't find the code for writing back to the database on this form.
<div class="input-label">
<label for="insta"><?php _se('Instagram'); ?></label>
<input type="text" name="insta" id="insta" class="text-input" value="<?php echo get_user()["insta"]; ?>" data-validate rel="tooltip" title="<?php _se('Instagram Username'); ?>" data-tipTip="right" placeholder="<?php _se('Instagram Username'); ?>">
<span class="input-warning red-warning"><?php echo get_input_errors()["insta"]; ?></span>
</div>
Thanks