Support

Home Forums WP User Integration Custom My Events Page.php in the Members add-on

Custom My Events Page.php in the Members add-on

Posted: March 19, 2014 at 7:00 pm

Viewing 1 reply thread


gavcaz

March 19, 2014 at 7:00 pm

Wordpress v3.7 (pre v3.8 for sure).
EE Version 2.0.6.2
Multiple Add-on including The User Intergration Add-on.
Not a new install and it has not been updated.

I’m curious if there is a way that I can customize the my_events_page.php that is a part of the Espresso-Members. I want to add a form that will allow my users to add in the hours that they participated in certain events.

We want to integrate it with the excel export as well.

I might not take it that far because i feel like i will have to modify the plugin files and then we won’t be able to install updates to the plugin and we want to avoid be stuck on an older version.

So, what i am wondering is can i drop the my_events_page.php in some folder and then the plugin is smart enough to know that I’ve duplicated it and want to be modify it outside of the plugin folder?

IF that is not possible, I will find another way to do this.


Dean

March 20, 2014 at 2:10 am

Hi,

The my_events_page.php file cannot just be dropped anywhere and edited. However, the main function within the file event_espresso_my_events() is pluggable, which means you can copy it to a custom plugin or to custom_functions.php file (wp-content/uploads/espresso/custom_functions.php, you may need top create this).

Pluggable functions info – http://codex.wordpress.org/Pluggable_Functions

You are right in that getting any data added to integrate with Event Espresso and the export files will be complicated and may indeed require modification to the core files.

If you require assistance with the code, we do have a list of recommended developers – https://eventespresso.com/developers/event-espresso-pros/

Viewing 1 reply thread

The support post ‘Custom My Events Page.php in the Members add-on’ 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