Posted: September 5, 2013 at 7:39 am
|
Hi, i would like to embedd/show/integrate the EVENT REG FORM (the one from http://www.DOMAIN.com/event-registration/?ee=X) in my post template. including it with <?php doesn’t really help (it’s missing the event_id i guess). Any idea? Thanks! |
Hi Klaus, I can advise using the [ESPRESSO_REG_FORM] shortcode inside a do_shortcode. You’ll need to figure out a way to pass in the event ID for the event you want to display though. The event_post.php template can likely be re-used to accomplish building out a page template that does what you’re looking to do. |
|
|
Thanks. Now i’d like to customize, tweak the way that [ESPRESSO_REG_FORM] shows up a little. Where does that shortcode refer to? What file do i have to edit for some results? Thanks! |
Hi Klaus, [ESPRESSO_REG_FORM] uses a function tied into other shortcodes, if you alter the function you’ll alter all the shortcodes that use that function. If you would just like to alter the look of it some you would be much better using CSS. |
|
|
Ok. After submitting that form the user is lead to xyz.com/event-registration/ I would like to add a few words over there. What file do i have to chose for? I could not find it. Thanks! |
The file event_list_display.php in event-espresso/templates/ is used for event-registration. Copy both event_list.php and event_list_display.php to wp-content/uploads/espresso/templates and edit those files there so they are not replaced when Event Espresso updates. |
|
|
Thanks for the advice. But when i copy the files to wp-content/uploads/espresso/templates and edit them there, how does EE know that those are the files to use?! |
Event Espresso has a function named event_espresso_require_template that checks the templates folder first and if if the template isn’t there, it loads up the default from the core plugin. |
|
|
Hm. I have tried to see my edits in the event_list_display.php but i can’t see it on the comfirmation page. Is this really the file to edit as it looks like it displays on the the event list the users have registered for. thanks for your help! |
Those files are for the event-registration page when no variables are passed. Once you have filled a Reg Form it loads confirmation_display.php. So the file you need to edit is confirmation_display.php. Again I would move this file to uploads/espresso/templates and edit from there. Apologies for the confusion. |
|
|
the file to edit was “payment_page.php”. ?! is that because the event is free? well. that’s ok now. but where can i uncomment the sidebar and the page title of that page?! thanks! |
|
Please mark my last question as stupidest question ever asked in this forum and the mark this topic as RESOLVED. sorry! |
|
“Please mark my last question as stupidest question ever asked” There is no such thing as a stupid question. Marked as resolved. |
The support post ‘Event Registration Form in template’ 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.