I administer a site that uses a component called Noixacl to create extra fields and more user roles inside a Joomla 1.5.26 installation using ChronoContact V 3.2. I am using a custom made form made using Chronoforms that uses the Joomla Registration plugin to allow a user to register and confirm registration as normal(user receives an email where he has to click on a link). In Joomla Users manager, there is an extra field called "Company". On the form the user is asked to enter company information but when the registration info is sent the "Company" field is not updated. I suspect it's because the Joomla Registrtation plugin only covers the basic default Joomla user fields.
So I was wondering, would it be possible to enter code maybe in the "Extra Code" tab so that the Company field would also be updated when the user fills in the registration form?
Another things I noticed is that when I try and edit that particular "Company" field in Joomla user manager, it won't updated when I click save. It seems that the only way to save into that field is through PHPMyAdmin saving into the database directly but obviously I would like to change that behaviour!
Can you please help?
Thanks in advance!
So I was wondering, would it be possible to enter code maybe in the "Extra Code" tab so that the Company field would also be updated when the user fills in the registration form?
Another things I noticed is that when I try and edit that particular "Company" field in Joomla user manager, it won't updated when I click save. It seems that the only way to save into that field is through PHPMyAdmin saving into the database directly but obviously I would like to change that behaviour!
Can you please help?
Thanks in advance!
Hi quantum_leap ,
I don't know anything about NoixACL and, as far as I can see, none of the standard Joomla! tables has a Company column. If you can find out where the column is then I expect that you can add either a DB Save or a custom MySQL query to updates it.
Bob
I don't know anything about NoixACL and, as far as I can see, none of the standard Joomla! tables has a Company column. If you can find out where the column is then I expect that you can add either a DB Save or a custom MySQL query to updates it.
Bob
I am sorry, could you explain a bit more? I am not that experienced with PHP/MySQL. I tried Enabling Data storage selecting the jos_users table but the "Company" field was not updated. Is that the right way to do it? How would I execute a MySQL query to do the same thing and where woulld I write the code?
Hi quantum_leap,
Is there a Company column in your #__users table? Then as far as I know if you have a Company input in your from a DB Save should update it.
BUT we do not recommend that you hack the #__users table (or any other core Joomla! table) or that you save directly to it. Use the Joomla! JUser methods instead.
Bob
Is there a Company column in your #__users table? Then as far as I know if you have a Company input in your from a DB Save should update it.
BUT we do not recommend that you hack the #__users table (or any other core Joomla! table) or that you save directly to it. Use the Joomla! JUser methods instead.
Bob
No, core isn't hacked. The ACL component is somehow responsible for adding the Company field in the joomla users table. What are the Joomla! JUser methods?
This topic is locked and no more replies can be posted.