This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Seth
Seth

I'm looking to change the status_id of multiple records in a list, by clicking the checkbox by the item and then clicking "Approve", "Reject" or "Archive" - however, I'm not sure how to do this. I have each button in the _list_toolbar.htm, and I have set checkboxes to active. I imagine I'd link to a controller for setting the status, but I'm not sure how I reference the checked items.

Any clue?

Bonus Question: I feel like there a lot of times using October CMS where I end up relying on the community for answers where the Docs can't help. Is there a better way to uncover answers? Is knowing the underlying code of October CMS a feasible way for uncovering these things? Any process for doing this?

Thanks!

calvin19998
calvin19998

Did you have any luck with this?

alxy
alxy

Check this code for a simple delete implementation via checkboxes: https://github.com/october-widgets/list-delete#installation

For a more advanced use case, you can also check the sources of RainLab.User

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.