Posted: October 5, 2012 at 5:40 am
|
I want to put an emphasis on the “Choose an Option:” as registrant often neglect or even miss to spot this drop down menu. I am not using multiple event registration function, and does not have seating selection feature on. I’ve tried figuring out which php file to edit, but ended up so frustrated because I couldn’t find the right place to edit it. Under the upload/espresso folder I found a template folder and a file called “registration_page_display.php”. I’ve did a test that when I edit this line: into this The label do change properly, so I assume this is the right file to edit. What I wanted is to add a above “Choose an Option:”, make the font size bigger / bolder, and then put another before “Registration Details”. But I couldn’t find the “Choose an Option” line anywhere in this file. All I found is the seating chart addon code. Anyone can shed a light on this? so frustrated, especially because I dont understand how the workflow of the system. Thanks in advance.
|
|
ok I gave up trying to paste the code, got too frustrated already lol |
|
s p a n c l a s s = ” s e c t i o n – t i t l e ” ? p h p e c h o _ _ ( ‘ A d d r e s s : ‘ , ‘ e v e n t _ e s p r e s s o ‘ ) ; ? / s p a n to s p a n c l a s s = ” s e c t i o n – t i t l e ” ? p h p e c h o _ _ ( ‘ A d d r e s s e s : ‘ , ‘ e v e n t _ e s p r e s s o ‘ ) ; ? / s p a n >
|
|
Hello Kollin, The first thing I would advise is to use the themes style.css to change the size/colour etc of the Choose an Option text. You can do this by adding the css code at the bottom of your themes style.css, something like:
Though that will change all the titles (start date, end date, personal information, etc etc). The template you are looking for is registration_page_display.php and its best if you copy that (and the registration_page.php file) to uploads/espresso/templates and edit them there. Again I would advise adding an ID or class so that you can amend the style via the themes style.css file. Choose an Option is on line 162 or roughly three quarters of the way down. |
|
Hi Dean, thank you for your support. Yes, as I mentioned I am editing the right file in the right folder (copied it before). I am also pinpointing the “Choose an option:” line, which, in the original file (under the other folder) have. However, the file copied in the upload folder have a different coding, in particular at the line you mentioned. I’ve uploaded the screenshot, you can dl it here: http://hrmagazine.com.hk/temp/line_162.png The reason why I don’t want to use CSS is that I want to only edit that particular heading. I haven’t add a new ID / class. What I want to also do, is to add a horizontal line before the “Choose an option:” line and after the option drop menu. |
|
Hi Kollin, If the file in the uploads folder is different to the core file it is because the core files have been updated. YOu will need to copy over the new template files to your uploads folder. Note that if you have modified the file in the uploads folder you will need to modify the new one accordingly. Make sure you back up any files you have modified. Once updated, you will see the Choose an Option on line 162 (approx) |
|
So that’s why there’s that “Choose an Option” in the original file but not in the upload folder. The question is then…why did the system use the original file instead of the one in the upload folder? This is confusing… |
|
what i meant is, the current registration display page does display “Choose an Option:” even though the file in the upload folder doesn’t have it…am I missing something here? I can’t understand how the program’s workflow works anymore… |
|
an update! so i’ve copied the file in the plugins/event-espresso/templates folder (registration_page_display.php) to the uploads/espresso/templates folder (overwrite the previous file). now the “Choose an option:” line and also its drop menu is missing. I’ve tried to continue and the system indicated it is a free event… anything i missed? |
|
Hi Kollin, The latest version of the template should still contain the line with Choose an Option that you are trying to edit. Can you send me your WP login and FTP details? please send them via https://eventespresso.com/contact/ Choose the “I am sending login info as requested” option and fill out the form |
|
yep, the one on the plugin template folder have “Choose an Option” line. But the one on the upload folder doesn’t. Login info sent. |
|
Hey Kollin, You should be fine to copy the registration_page_display.php from your event-espresso/templates folder to the uploads/espresso/templates folder. The one in uploads is old and can be overwritten, there doesnt appear to be any prior modifications to it. |
The support post ‘Modifying the Registration Page Display’ 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.