Posted: October 31, 2013 at 8:14 am
|
1) Custom buttons- How do I add my own custom buttons ie submit, addl attendees etc 2) Adding a disclaimer to an event- no checkbox or anything, just want it above the submit? 3) setting up an event with no date- I use this for membership fees, how do i do this so it doesn’t show on the calender? 4) Deleting a payment option for only 1 event |
Hi there, Three of these require some custom development but I can post some example code to help get you started: 1) One way to customize the look of the buttons is by using CSS. Here is a link to some documentation that shows how to customize links to make them look like buttons, but the same ideas apply when changing the look of a button: https://eventespresso.com/wiki/using-css3-to-style-links/ 2) I’d recommend using a hook for this. There are a couple of action hooks we added that will be part of the Event Espresso 3.1.36 release. You can download this version from your account page after you opt-in to the pre-release channel. The hook that’s closest to the submit button is the: action_hook_espresso_registration_form_bottom This will allow you to inject a custom message right below submit button. Here is some example code to help get you started: function bqee_my_custom_registration_message( $event_id ) { if ($event_id == '1') // if this is the event with the ID of 1 echo '<p class="reg-disclaimer">My disclaimer message</p>'; //then display the message } add_action( 'action_hook_espresso_registration_form_bottom', 'bqee_my_custom_registration_message', 10, 1 ); 3) One way to make an event not display on the calendar is by setting its status to “Waitlist”. People can still register and pay for this “event” but it will not display on the calendar. Another option is to set its start date to something like one year ago and set its event status to “ongoing”. 4) You can make a payment option not appear for one event by using an hook. Here is a link to a gist that shows how to remove the PayPal option for one event: https://gist.github.com/joshfeck/6768792 The example code in this and the example in the answer to your second question can be modified and added to your theme’s functions.php file or to a file in the /wp-content/uploads/espresso/ directory on your server that is named custom_functions.php. |
|
|
Thank you. Is there a way to pick which fields get exported to excel? I only want the fields I have in the form to be there and no extra fields. I have 2 different field sets for different events… |
|
Hi, Unfortunately that is not possible at this time, the exported spreadsheets would need to be filtered. |
|
meaning after they are exported I would need to delete fields? |
Hi, You can either delete or hide the fields but Yes you would need to do this manually currently. |
|
The support post ‘Basic Questions’ 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.