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

Add item from frontend

9 yıl 7 ay önce #801 Yazan: Daniel Burgbacher
Add item from frontend, Daniel Burgbacher tarafından oluşturuldu
hi there,

I made a simple component where users can see at the frontend a list of projects with status 0 / 1.
Now this component should allow the registered users to add a project to the list  from the frontend.
How can i do this?

Groetjes,
Borkee

Lütfen sohbete katılmak için Giriş ya da Hesap açın.

9 yıl 7 ay önce #814 Yazan: Eduardo Mena
Eduardo Mena tarafından Add item from frontend konusunda yanıtlandı
Hello Daniel!

This is very easy to acomplish using Component Creator
First, when you create the table, be sure to check the field "Allow front end editing of the item"
Then, after you've installed the component, go to global configuration and at the left sidebar, look for your component. You'll see a permissions tab. Go to the "registered" user group tab and add the permissions you would like to give users in that group. In this case, be sure to allow "Create"
Now, any logged in user will be able to add projects. The default view has a button to add entries.

You may also create a menu item that links directly to the form to add new projects. As menu item type select ProjectsForm from your component.

Hope this helps

Lütfen sohbete katılmak için Giriş ya da Hesap açın.

Sayfa oluşturma süresi: 0.048 saniye
Geliştiren: Kunena Forum