I would like to upload a PDF via a file upload meta box on the create/update event page in the admin. I’m not wanting to put it in the event description. I am creating a custom widget (for the sidebar) that will display a link to download the PDF.
Do I create a custom meta box and attach it to the create/update event page or is there a better way to do it. If creating a custom meta box is the best way to go what should I add the the “pages” element of the array.
Many thanks!
(WordPress 3.5.1 & EE 3.1.34.1.P with all the business add-ons)
I’m afraid at this time we only support uploading PDF files by using the built in WordPress media uploader where it adds a link to the PDF in the event description.
If you require the services of a PHP developer to make this customization we can advise contacting one of the developers for a quote that are listed here:
Thanks for your quick reply. I am a PHP developer but being new to Event Espresso I wanted to check what the best way to integrate this may be. I wasn’t sure if there was a feature I was missing or what the best practice is for making a customization such as this to EE. Naturally I don’t want to edit the core. Is there suggested best practices for making customizations such as this? I have the custom files plugin.
If you can use one of the action hooks available in the event editor that would be best. Any custom functions can be placed in /wp-content/uploads/espresso/custom_functions.php
If you download the beta version from the pre-release channel (after opting in from your account page) it will have a few more hooks that can be used that have been added since the current version has been released. A few of these are
action_hook_espresso_new_event_left_column_advanced_options_top
and
action_hook_espresso_edit_event_left_column_advanced_options_top
Viewing 3 reply threads
The support post ‘Upload PDF as part of Event Meat’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.