You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Pages: 1
Is there an easy way using session variables to add a field/column definition to the ecom_prod table to record which user last updated the row within that table as well as which user modified the row within that table last?
Offline
Sure. Add the column using Raw DB Admin, then modify the updateprod() function in {private}/apps/ecom/ECOM_Prod/ECOM_Prod.php to save the variable $this->globals('core_user.id') to that field.
Offline
You could mod CORE_DB directly to inject whatever you like in the sql_do() function. Maybe look for a column named 'lastuseredit' and save the core_user.id variable value there.
Offline
Pages: 1