Posted: December 24, 2015 at 3:55 am
|
Hello, we want to add one more field in create or update event. please give me some help how can i do this i have find the template add my field but i am not getting from where its insert or update please help me for this. Thanks |
|
Sorry i want to add field in event tickets. my mistake apologize for that. |
Hi Jerome, You can use the Advanced Custom Fields plugin to add new fields to the create/edit event page. There are a few examples in the documentation: Adding fields to the Ticket editor can be done, but it does require some advanced knowledge of the WordPress plugin API and PHP programming. I can point you to a real world example where an Event Espresso add-on adds a field to the Ticket Editor, and then you can follow the code to see how it works. The add-on that hooks into the ticket editor is the WP Users Integration add-on, and you’ll see the hooks it uses starting on line 53 of EED_WP_Users_Admin.module.php. If you follow the code of each of the callback methods, you’ll see how to add a custom field in the ticket editor. |
|
|
Hello, Thanks for your reply. i have added the field in ticket creation now i want to display that field in ticket view. can you plz guide me for that in which function i have to change it i get that field in template view file “ticket_selector_chart.template.php”. But i want my ticket in category wise so i want to change my array can you plz help me for that which function or file i have to change |
Please do not change any of the functions or files within the Event Espresso plugin. Instead, you can use any of the hooks within the ticket_selector_chart.template.php template. Here are a list of action hooks within the template that can be used for adding new content:
Also, there are a number filter hooks that can also be used for changing the content of the ticket selector. These all start with the following:
|
|
The support post ‘New field in create event’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.