× This forum has been locked. Please submit new Feature Requests on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

(Done) Modified by field

10 年 6 个月 前 #29 anthony cunningham
Modified by field was created by 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

Please 登录注册一个帐号 to join the conversation.

10 年 6 个月 前 - 10 年 6 个月 前 #50 Gordon
Replied by Gordon on 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.

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
Last edit: 10 年 6 个月 前 by Gordon.
The following user(s) said Thank You: Andres Maeso, Dansk Vandrelaug

Please 登录注册一个帐号 to join the conversation.

10 年 1 个月 前 #422 Frank Jumppanen Andersen
Replied by Frank Jumppanen Andersen on 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..

Please 登录注册一个帐号 to join the conversation.

9 年 2 个月 前 #975 Andres Maeso
Replied by Andres Maeso on 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

Andrés Maeso
Customer relations manager at Joomla Component Creator.

该邮件地址已受到反垃圾邮件插件保护。要显示它需要在浏览器中启用 JavaScript。
The following user(s) said Thank You: Frank Jumppanen Andersen

Please 登录注册一个帐号 to join the conversation.

创建页面时间:0.051秒
核心: Kunena 论坛

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.