Support

Home Forums Event Espresso Premium One event registration

One event registration

Posted: June 28, 2013 at 7:57 am

Viewing 11 reply threads


Noomia

June 28, 2013 at 7:57 am

Hi !

On my project, I have only one event. I have created a page where I explain this event with a lot of details.
Now, I would like to allow people to register (with printable tickets) to this event. So, on my event page, I need to add a button linked to the registration form. Right now, I have create an event with event espresso and a ticket. But If i go on the created event espresso event page, I have the form but I also have the description of the event espresso event. I only want the form…

How could I do that ?

Thank you very much !


Jonathan Wilson

June 28, 2013 at 8:33 am

Hi Benjamin,

There isn’t a toggle to turn off the description within the event registration form page, but you can do it with CSS. You can add this to your style.css file of your theme, or with a custom CSS plugin:

/* Remove event description from registration form */
.event_espresso_form_wrapper p {
    display: none;
}


Noomia

June 29, 2013 at 7:49 am

Thanks πŸ™‚ !

I imagine that it’s the same if I only need all the event’s informations but without the registration form ?


Seth Shoultes

  • Support Staff

June 30, 2013 at 12:28 am

There is an option in the event editor (screenshot: http://www.screencast.com/t/fXEELNiK5O6) to hide the registration form.


Noomia

July 1, 2013 at 1:20 am

In fact, I need a page with only the description of the event (description, date, hours, access, etc…) and one page with only the form. How would you do that ?


Dean

July 1, 2013 at 4:11 am

Personally I would do as Seth suggested and turn off the registration form on the event and there is one page with just the description etc.

Alternatively you could create a new post or page and use this shortcode [ESPRESSO_REG_PAGE event_id=1] though you will still need to turn off the registration form in the event options.

To create a page with just the form on you can use this shortcode [ESPRESSO_REG_FORM event_id=3]. It will still show the times and prices but this could be hidden with CSS.

https://eventespresso.com/wiki/shortcodes-template-variables/#reg-page


Noomia

July 2, 2013 at 2:40 am

Nice thank you πŸ™‚ !

I think it could be great if you add a switch to turn off separately the times and dates, the description, and the form πŸ˜‰

Thanks !


Dean

July 2, 2013 at 2:46 am

Hi,

No problem and thanks for the feedback!


Noomia

July 2, 2013 at 2:56 am

One more question…

I’ve seen that there’s shortcode to display the event time and date and the event venue. Is there a shortcode to only display the description of an event?

In fact I want to create my own page and I want to change the order of the informations. How would you do that ?


Dean

July 2, 2013 at 3:14 am

“Is there a shortcode to only display the description of an event?”

None I am aware of, you could use the [SINGLEEVENT] shortcode and hide the rest with CSS (easiest way), alternatively you could create a custom shortcode but you would need some PHP knowledge in order to pull the right event and get what you need.

“In fact I want to create my own page and I want to change the order of the informations. How would you do that ?”

Well depending on what you want you could modify the registration_page.php and registration_page_display.php template files. These control the look of the single registration page, but for every event. You can do the same for the event list with the event_list.php and event_list_display.php files.


Noomia

July 2, 2013 at 8:53 am

Hi !

Thanks Dean. How do I have to do to edit these .php files without loosing my changes on update ?

For what you said upper, I’ve try to turn off the form for my event page, then on an other page use this code [ESPRESSO_REG_PAGE event_id=1] , but it displays nothing, cause the form is disabled in the event option page…

Other question : how can I display the event image ?

Thanks


Dean

July 2, 2013 at 9:44 am

Hi,

Copy registration_page.php and registration_page_display.php to the wp-content/uploads/espresso/templates directory and edit them there, they will not be over written on updates. However you may need to update them if we have done any changes to the template files.

About the form, you are right, I must have been mistaken, my apologies, I thought it would have displayed the form regardless. In which case the only option would be to add the same shortcode on both pages but wrap them in a div tag with an id and target the description or form

<div id="my_noform">
[ESPRESSO_REG_PAGE event_id=1]
</div>

<div id="my_nodesc">
[ESPRESSO_REG_PAGE event_id=1]
</div>

then in the CSS add

#my_noform #event-reg-form-groups { display:none; }
#my_noform .espresso_additional_limit {display:none; }
#my_noform .event_form_submit {display:none; }

#my_nodesc .event_description {display:none; }
#my_nodesc .start_date {display:none; }
#my_nodesc .event_time {display:none; }
#my_nodesc .event_prices {display:none; }
#my_nodesc .section-title {display:none; }

Event images are turned on in the Template Settings page, and you add one in the event itself via the Featured Image option on the right hand set of options.

Viewing 11 reply threads

The support post ‘One event registration’ 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