How can I update a custom column in database?
How can I update a custom column in database?
Hi, when a user is edited or saved in admin cp I want to set a datetime value to a field and in the addresses table. How Can I do that in version 705? What files do I probably need to edit?
Last edited by nowa on Mon Dec 13, 2010 1:47 am, edited 1 time in total.
Re: How can I update a custom column in database?
Well address table doesn't contain any of two fields you mentioned. So first of all you need some place in database where you can save this information. Instead of modifying address table better try putting extra fields information in some different table and then linking it to corresponding address. For example you can utilize ac_CustomFields for this purpose. Reade following thread about how to use ac_CustomFields table viewtopic.php?f=42&t=8651