Posted: August 16, 2013 at 1:02 pm
|
Hi Event Espresso Team & Community! I have some questions from my client: 1) Is there an easy way to add the Ending Date to the “event-meta” area on this page: http://wsmta.wdwalr.us/event-registration/ ? 2) Is there a way to rename “Attendee #N” to “Student #N” (where N starts at 1 instead of 2)? http://wsmta.wdwalr.us/event-registration/?ee=1 3) Do you have any css examples or suggestions on tightening up the description area at the top – there seems to be too much whitespace and wasted space – and the alignment is off with Start and End dates and times not lining up: http://wsmta.wdwalr.us/event-registration/?ee=1 Thanks for your help!
|
Hi Andy, With #1, the date code could be copied from registration_page_display.php and adapted use in event_list_display.php. Please see these notes on modifying templates: https://eventespresso.com/wiki/put-custom-templates/ We recommend using Diffmerge to help merge changes into custom templates. With #2, the text string part can be changed in /wp-content/uploads/espresso/custom_functions in the custom gettext funciton there where it says add more strings here. The renumbering part will involve refactoring the additional attendee dropdown functions which is outside the scope of support. With #3, I do not have any examples, but you can use a tool like Firebug to find which style rules are adding the additional white space. Here are a few references that will help: http://css-tricks.com/video-screencasts/15-introduction-to-firebug/ |
|
|
#3 – css tweaking – this is what I came up with that should work for us just fine (posted for the sake of the community) .event_espresso_form_wrapper .start_date span, .span_event_time_label, #event-reg-form-groups { display: block; clear: both; padding-top: 2em; } |
|
Can I drop the “#2” from here: http://screencast.com/t/DDzoQ5TBj I’d also like to replace “Attendee” there, but can’t find which template file to edit. <code> 'Attendee ' => 'Student ', 'Attendee' => 'Student', </code> but that didn’t work either. My Goal (client request) is to just have Thanks! |
Hi Andy, To make both the modifications requested you edit event-espresso/includes/functions/main.php, line 166. ‘Attendee #’ change to (in this case) ‘Student’ removing the space and hash from there and then remove XXXXXX before the closing h4 tag. Leaving: $attendee_form .= '<h4 class="additional-attendee-nmbr-h4">' . __('Student', 'event_espresso') . '</h4>'; Hope this helps. |
|
|
Thanks, Tony! I, instead, did this: That worked great! |
The support post ‘Event Registration page tweaks’ 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.