×
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
Yeni Üye
Posts: 1
10 yıl 7 ay önce #29
Yazan: anthony cunningham
Modified by field, anthony cunningham tarafından oluşturuldu
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
Lütfen sohbete katılmak için Giriş ya da Hesap açın.
Gordon
Bakır Üye
Posts: 23
10 yıl 7 ay önce - 10 yıl 7 ay önce #50
Yazan: 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
Gordon tarafından Modified by field konusunda yanıtlandı
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
Son Düzenleme: 10 yıl 7 ay önce Düzenleyen:Gordon
Şu kullanıcı(lar) Teşekkür etti: Andres Maeso, Dansk Vandrelaug
Lütfen sohbete katılmak için Giriş ya da Hesap açın.
Frank Jumppanen Andersen
Yeni Üye
Posts: 14
10 yıl 2 ay önce #422
Yazan: Frank Jumppanen Andersen
Frank Jumppanen Andersen tarafından Modified by field konusunda yanıtlandı
...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..
Lütfen sohbete katılmak için Giriş ya da Hesap açın.
Sayfa oluşturma süresi: 0.052 saniye