When i log into the arrowdb on the appcelerator portal i can go into the "manage data" and click down to a specific user object.
I wish to edit a "custom field" in a User object.
Previously in ACS all the custom fields were available for edit, but now in arrowdb i cannot even see the custom fields only add new. If i add a new custom field for a custom field that should already exist it seems to change the value. However i want to be able to see the values too.
Am i doing something wrong? Should i edit the user object somewhere else?
Related
I had to add a series of custom fields to the joomla registration form. Thanks to the guide I managed to do it, both for the registration form and for the administrator form.
The process I followed for this are the following:
Added the fields to the users table
Added the fields in joomla user entity /library/src/user/user.php
Added the fields and definition to /components/com_users/model/forms/registration.xml file to update the registration form
Added the fields and definition to administrator/components/com_users/model/forms/user.xml file to update the user edition form for user with administrator role
Now I require the user to be able to change their profile data with the inthe fields that were created manually. To do this I added a link to the menu
form to edit profile, here I expected to see all user fields, both native and custom created, but instead I obtain only the native fields, although upon inspecting the object (user) I can access all the user fields.
I created the fields by hand and then I expected that when they were saved they would persist, but it is not, when sending the form only the native data is updated and not the custom fields.
When I inspect, I see that a component named k2 is the one that facilitates this profile editing form, I am new to joomla and its ecosystem
Could you please give me guidance on how to implement this task?
Greetings and thanks in advance
Do not edit core components.
There is a way to do the same using Profile plugin.
https://docs.joomla.org/Creating_a_profile_plugin
Go through above link and create a new profile plugin.
This is not the way to add extra user fields. What will you do if you need to update Joomla. Joomla releases security updates at regular intervals. First you need to create a user plugin and then you add whatever user fields you need. I found a detailed description here, you also can have a look. if still you get any doubts you can ask me here in comments.
https://smartyblog.com/adding-custom-fields-to-joomla-registration-using-profile-plugin/
I added in my phpBB 3.1.3 forum a custom profile field which has to be filled in if someone registers on my forum. I want that this field can be seen only by administrators. Therefore, I checked the following options:
I also require that newly registered users have to be activated by an administrator. Whether a user gets activated depends on the text that he puts into his profile field. However, the profile field does not appear in the inactive users list in the ACP, nor does it show up if I click on the user. How can I find the custom profile field for inactive users?
In the top right drop down box that is currently showing Overview change this to Profile and hit Go. This will show custom profile fields at the bottom of the page.
My requirement is to add a Tab inside the form(not a ribbon tab) on create of custom configuration record. The functionality is like this:
A custom config entity has a field called 'Entity Name'. On creation of this config record I need to add one form Tab to an entity specified in 'Entity Name' field in this config record. Here my idea is to add this tab to all the entities, and Hide/Show this tab by querying the config records with current entity name. So, is there any way to add tab to all the entities in one shot? (OR/AND) Can we configure to add one default tab to all newly creating entities like 'Notes' tab?
If I'm wrong, it would be great if any suggestions from your side.
There is no out of the box way of doing this. My recommendation would be to keep it simple and do it manually.
Here is the way to add/remove tab on create/delete of config record through plug-in.
I want to add extra field to the HikaShop user registration form for the first step of the checkout process. I could not find out the page inside the HikaShop Component actually where to add my code. Please suggest me soon.
The simplest way to do it is to create custom fields via the menu Display->Views (you have more possibilities in the commercial editions).
Otherwise,if you want to directly add your code to the form, you will have to edit the file "registration" of the view "user" via the menu Display->Views.
When you add customer attributes, Magento's admin dashboard for customer's automatically generates the relative form element for that new attribute.
Is there a way to do the same thing on the front end via a controller in a module?
nope, the frontend customer fields are hard coded, check out the phtml inside customer/form to see it.
What are you trying to achieve? Customer attributes are displayed on the form if "Show on frontend" is enabled. However those fields aren't saved from frontend by default. You need to extend fieldsets in your module for that, see config.xml in core Mage/Customer module
EDIT: actually that is true for enterprise edition, on CE you have to edit register.phtml (preferably by making a copy in your theme)