How to have front-end Event creator only create ev

  • Tim Stöhr
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
8 years 5 months ago #73101 by Tim Stöhr
Hey Tuan,

I would like Front-End submitters to be able to only submit events to a single category.

Here is an example of what I mean: I have loads of categories on my website. When a user creates an event, he can choose from any of the categories and most often he chooses the wrong one. Can I make it so that he can ONLY submit to the one I have given him authority to?

I tried by limiting the category but that didnt work. It just blocked users from seeing the event in the front-end.

Bye

Tim

Please Log in or Create an account to join the conversation.

  • Tim Stöhr
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
8 years 1 month ago #79177 by Tim Stöhr
Any reply?

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago #79244 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How to have front-end Event creator only create ev
Hi Tim

At the moment, Events Booking doesn't have a way to config it. So you will need to edit the code to only get the categories you want

Try to look at the file components/com_eventbooking/view/event/html.php, look at displayForm method you should see the code which get list of categories for event submission form and you should be able to customize it

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc