× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Fields - change autor - Created by

6 年 11 个月 前 #1687 Fit
Hi,

what settings to use to change the author of the item?

Thanks

附件:

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

6 年 11 个月 前 #1688 Jamila
Replied by Jamila on topic Fields - change autor - Created by
Hi,

Because created_by is a form to log the information for Joomla, they disallow editing (even for Super Users). If you do wish to use this form and allow for editing, you have to hardcode this, but this is something that we do not recommenend.

It would be better to create a userfield in your component. This is automatically linked to your list of users in Joomla. However, the users will not show on the frontend.

If you need the users to appear on the front end as well, you have to add an SQL field that refers to #__users table.

You will have to do a little bit of coding to the J_USER and J_SQL field for it to automatically retrieve the author of the item.


For Premium Users, we provide guidelines on how to do this through our ticket system.


Best regards,
Jamila

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

6 年 11 个月 前 #1689 Fit
Replied by Fit on topic Fields - change autor - Created by
:-(

Maybe publish_up, publish_down option?

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

6 年 11 个月 前 #1690 Jamila
Replied by Jamila on topic Fields - change autor - Created by
The publish_up and publish_down fields are related to the publishing date. With these fields you can select when you want to start publishing the content and when you want it down again. It is not related to the author.

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

6 年 11 个月 前 - 6 年 11 个月 前 #1691 Fit
Replied by Fit on topic Fields - change autor - Created by
Ok, thanks.

Unfortunately, I do not know how to choose these fields.

Thank you for your help

附件:
Last edit: 6 年 11 个月 前 by Fit.

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

创建页面时间:0.057秒
核心: 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.