×
This forum has been locked. Please submit new Feature Requests on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
(Done) Modified by field
anthony cunningham
New Member
Posts: 1
10 Anni 6 Mesi fa #29
da anthony cunningham
Modified by field è stato creato da anthony cunningham
Is it possible to add a field type for "modified by" - as in the user who last modified it?
Thank you for an excellent jumping off point with Component Creator - definitely saved me time and well worth it.
Anthony
Thank you for an excellent jumping off point with Component Creator - definitely saved me time and well worth it.
Anthony
Si prega Accedi o Crea un account a partecipare alla conversazione.
Gordon
Junior Member
Posts: 22
10 Anni 6 Mesi fa - 10 Anni 6 Mesi fa #50
da Gordon
Never doubt that a small group of committed people can change the world. Indeed, it is the only thing that ever has... Margaret Mead
Gordon Wright
Old fart developer
Risposta da Gordon al topic Modified by field
The best way is to duplicate that standard Joomla fields "checked_out" and "checked_out_time" and call them "modified_by" and "modified_time" respectively. In your code simply write the data in the checked out process to the corresponding modified fields. When the checked out process ends, the data in the modified fields is retained so you can always see who and when the record was last modified. Alternatively, you can place the fields into a MODIFIED table, and then have a (log style) record of every modification; who and when.
To ensure that the data in the record was indeed modified, and not just checked out, will require additional code.
For the JCC developers... this could be an option in the setup process.
To ensure that the data in the record was indeed modified, and not just checked out, will require additional code.
For the JCC developers... this could be an option in the setup process.
Never doubt that a small group of committed people can change the world. Indeed, it is the only thing that ever has... Margaret Mead
Gordon Wright
Old fart developer
Ultima Modifica 10 Anni 6 Mesi fa da Gordon.
Ringraziano per il messaggio: Andres Maeso, Dansk Vandrelaug
Si prega Accedi o Crea un account a partecipare alla conversazione.
Frank Jumppanen Andersen
New Member
Posts: 14
10 Anni 1 Mese fa #422
da Frank Jumppanen Andersen
Risposta da Frank Jumppanen Andersen al topic Modified by field
...I'm new to structures in joomla components. Could you point me in direction of the right file to make the modification??
Funny that a field for update timestamp is already there - but not for updated_by..
Funny that a field for update timestamp is already there - but not for updated_by..
Si prega Accedi o Crea un account a partecipare alla conversazione.
Andres Maeso
Platinum Member
Posts: 338
9 Anni 2 Mesi fa #975
da Andres Maeso
Andrés Maeso
Customer relations manager at Joomla Component Creator.
Questo indirizzo email è protetto dagli spambots. È necessario abilitare JavaScript per vederlo.
Risposta da Andres Maeso al topic Modified by field
Hi there!
Thanks for taking the time to make us improve. Modified by field has been implemented, hope you find it useful.
Regards
Thanks for taking the time to make us improve. Modified by field has been implemented, hope you find it useful.
Regards
Andrés Maeso
Customer relations manager at Joomla Component Creator.
Questo indirizzo email è protetto dagli spambots. È necessario abilitare JavaScript per vederlo.
Ringraziano per il messaggio: Frank Jumppanen Andersen
Si prega Accedi o Crea un account a partecipare alla conversazione.
Tempo creazione pagina: 0.054 secondi