Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Upload PDF as part of Event Meat | Event Espresso - Staging Server

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

Viewing 3 reply threads


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

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:

http://staging.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

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

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.

Event Espresso - Staging Server