[SOLVED] ListIt2FEEdit user's own item

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
nervino
Power Poster
Power Poster
Posts: 448
Joined: Sun Dec 28, 2008 12:15 pm
Location: Roma, Italy

[SOLVED] ListIt2FEEdit user's own item

Post by nervino »

Hello, I would know if ListIt2FEEdit allows feu users to create/edit their own items.

I've tried it and I've seen that there is an "owner" field in the items's db table; I also tried to insert new items with and without a logged user but the id in the "owner" field seems to always be the same ('1').

Maybe I did something wrong, but I'd like to know if is it possible that each user manages only his own items.

I also tried CGCalendar (I have to manage events) and it works fine too, but it lacks several options like multiselct fields etc.

Thank you
Last edited by nervino on Sat Aug 02, 2014 7:59 am, edited 1 time in total.
psy
Power Poster
Power Poster
Posts: 463
Joined: Sat Jan 22, 2005 11:19 am

Re: ListIt2FEEdit user's own item

Post by psy »

Create a hidden field in your LI2 instance and on item create, populate the field with the user's FEU id.

On edit, compare the field value with the currently loggedin user id. If they match, allow the edit.
nervino
Power Poster
Power Poster
Posts: 448
Joined: Sun Dec 28, 2008 12:15 pm
Location: Roma, Italy

Re: ListIt2FEEdit user's own item

Post by nervino »

I see. Thanks!
Post Reply

Return to “Modules/Add-Ons”