Allow guests to create pages?

Permalink
I'm building a site that has an event calendar as one of its main features. I'm using the ProEvents add-on to create the calendar and PE uses an Event page type to add events to the calendar.

So I'm wondering if there is a way to allow unregistered users to create and submit their own Events that would then go into a queue where they could be approved by the site admins. Is something like this possible with Concrete 5.7?

We currently just have a form where guests can send the site admins the details of their event. The site admins then have to create an Event page and add all of the info manually. It's fine for now, but will be cumbersome in the long run.

 
MrKDilkington replied on at Permalink Reply
MrKDilkington
WebcentricLtd replied on at Permalink Reply
Hi nicemoves,
you have an issue here with the way pro-events works.

You create an event using the pro-events add event from in the backend and it then automatically creates a page in the website from this info as well.

It doesn't work well with the standard page approval workflow - in that you would not be able to use the built-in workflow to approve a user submitted event.

Events and event pages are 2 discrete things: although the event becomes the event page with the addition of the various attributes etc.

The way I would look at tackling this would be to look at the pro-events add event form - the one that you access from the dashboard to create an event.

Create a form on the front-end of your website with the various relevant fields that you need.

Store them in a database table on submission.

Then list them in a single page in the dashboard for a 'user submitted events approver' with a create button.

When the create button is actioned the variables needed to create the event are sent to the pro-events controller in exactly the
same way they would be by the pro-events add event form.

That way you create the event and page using the exact same methods as pro-events.

Does that make sense? If you need I could give you some more detailed information on how to do this but that's how I think I would approach it in very general terms.
nicemoves replied on at Permalink Reply
Ah yes, that does make sense. I'll poke around and see if I can make it work! Thanks!