Discussions
mass deleting "public submission" data
Thanks to Didier and the LocomotiveCMS team for building such a nice CMS!
I have a question:
On a customer website there is a backlog of "Contact messages" (almost 6000).
Right now, the "page level block delete" gets the 10 items per page (those being being displayed), which would mean that there are 600 pages of three clicks on each to delete this old data.
Is there a way to display say 50 (or 100) items per page so that there would be 120 (60) pages needed to delete this old data?
One other option is me trying to delete it through the mongo backend, but this is not available to the customer.
Posted by John Read about 2 years ago
How to Avoid Public Submissions Accepted on All Paths?
It seems Locomotive accepts public submission POST requests of any `content_type` to any path.
Is there a way to change this behavior so that form submissions only work with the public submission url \(/entry_submissions/\<content type slug\>\)?
This way, we can easily lock out spam bots which don't run javascript.
Posted by Tobias Geisler almost 5 years ago
Populate associations from public submissions
Hi,
Based on the contact form guide I've made a form that adds some details, and tries to add associated data (through checkboxes). The form works fine until I check and boxes, then I get an "undefined method `association_ids=' for #<Locomotive::API::Forms::ContentEntryForm>"
Is this possible through public submission?
Thanks
Lawrence
Posted by Lawrence Nicholson about 7 years ago
Creating related objects via form
Hey Everybody,
I have a form with used for public submission. That form is placed on the `event` page and creates an `open_subscription` and `open_subscription` belongs_to `event`. Now the issue I have is that it creates the `open_subscription` entry but the event field stays empty. I have tried everything I could think of but still no success.
Has anyone worked with forms that create related objects? How did you implement it? Any suggestions?
Here is a gist with my code: https://gist.github.com/DonKoko/ff8d59d42d9357ef5cb0fc6545d30876
Posted by Nikolay Bonev over 8 years ago