Page 1 of 1
How can I update a custom column in database?
Posted: Wed Dec 01, 2010 2:03 am
by nowa
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?
Re: How can I update a custom column in database?
Posted: Wed Dec 01, 2010 5:10 am
by mazhar
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