Support

Home Forums Event Espresso Premium Upload PDF as part of Event Meat

Upload PDF as part of Event Meat

Posted: August 27, 2013 at 4:59 pm


Joe Cruz

August 27, 2013 at 4:59 pm

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)


Josh

  • Support Staff

August 28, 2013 at 9:37 am

Hi Joe,

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:

https://eventespresso.com/developers/event-espresso-pros/


Joe Cruz

August 28, 2013 at 10:36 am

Hi Josh,

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.

Many Thanks!


Josh

  • Support Staff

August 28, 2013 at 8:53 pm

Hi Joe,

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

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.

Event Espresso