Page 1 of 1

FEU and 'record last updated' field

Posted: Wed Sep 29, 2010 1:31 pm
by michaelwalker
I am using CMS 1.8.2 and FEU ver 1.1.2 and would like to define a property (date field) that automatically shows when a user's record was last altered or updated - that is, a field which would automatically update rather than one which is manually entered.  I can't see a way of doing this through the UI and wonder if anyone has any ideas on how - or indeed whether - this can be done with FEU.  I have done this in the past using free app DaDaBik, but this function is built into the dadabik code so, although I know it is possible in theory, I don't how I'd set about doing it woth FEU

Any help appreciated.

Re: FEU and 'record last updated' field

Posted: Wed Sep 29, 2010 5:07 pm
by jmcgin51
I think you would have to create a new field in the cmsms_module_frontendusers_users table for last_updated_date, then write a UDT that updates that field with a new timestamp and then call it with a OnUpdateUser event.  Just a guess...

Might be easier to make a feature request for FEU ;-)  And if you're willing to sponsor it, I'm sure development would be quicker...

Re: FEU and 'record last updated' field

Posted: Wed Sep 29, 2010 5:18 pm
by michaelwalker
Thanks - I had a nasty feeling you were going to say that  :)  Still, I have the code dadabik uses to do this, so maybe....watch this space! (and thanks again)