Support

Home Forums Event Espresso Premium Entry Page Layout

Entry Page Layout

Posted: July 21, 2015 at 1:12 am

Viewing 8 reply threads


Andrew Moorhouse

July 21, 2015 at 1:12 am

Good Day,
I would like to know if its possible to add in or edit the page in some way so that the the first option under “Choose and option” either displays a blank line or a selection of “Please select below”. If the user does not click on this and select an event they will then be prompted that they missed a selection. The issue we currently having is that the users for some reason don’t see that they need to select the correct event and in-turn we are receiving a lot of entry changes from the first line entry over to the correct one.

please any help in this regard would be greatly appreciated.

Link to page ” http://raceinfo.co.za/csir-race-2015/

Regards Andrew


Dean

July 21, 2015 at 3:30 am

Hi,

You may want to check out the responses to this forum thread as it discusses options of how to do this in EE3 – https://eventespresso.com/topic/force-price-selection-no-default-price/


Andrew Moorhouse

July 21, 2015 at 8:38 am

He Dean,

Thanks for the info, any chance you can give me a little more detail to go on.
Tried my hardest to get something working but seem to come short.

Any help will be greatly appreciated.


Lorenzo Orlando Caum

  • Support Staff

July 21, 2015 at 10:39 am

Hi Andrew, which of the options mentioned here did you try?

https://eventespresso.com/topic/force-price-selection-no-default-price/#post-34716


Lorenzo


Andrew Moorhouse

July 22, 2015 at 3:08 am

Hi Morning Lorenzo,
I tried adding in the script into the event-espresso/includes/functions/pricing.php file. Was unsure on exactly where to insert it but when i tried this nothing changed on the entry page. I then tried to locate the registration_page_display.php but had no luck. Could you possibly give me the exact location of this file as i cant seem to find it.

Regards Andrew


Andrew Moorhouse

July 22, 2015 at 3:19 am

Update: Hi Lorenzo, i have managed to locate the file, not sure why my search didnt seem to locate it the first time. I have now inserted the script and is working as needed. I would like to know if its possible to have text in the blank area, something along the lines of ” Select your event “.

path of file for anyone having the same issue.
“wp-content\plugins\event-espresso\templates\registration_page_display.php”


Tony

  • Support Staff

July 22, 2015 at 4:28 am

Hi Andrew,

Change this line:

jQuery("#price_option-" + the_event_id ).prepend("<option value=''></option>").val('');

To include the test within the option, like so:

jQuery("#price_option-" + the_event_id ).prepend("<option value=''>Please select an event</option>").val('');

Also to note, if you have modified that file in the location posted your modifications will be list on each EE update. EE can load the template files from an ‘update safe’ location within uploads, so…

Within \wp-content\plugins\event-espresso\templates\

Copy registration_page_display.php and registration_page.php

Place those two files within \wp-content\uploads\espresso\templates\

Event Espresso will load those in place of the default ones, then when Event Espresso updates it will continue to use your custom templates.

(Note although you only modified one file you need both files. The registration_page.php sets up the variables and registration_page_display.php outputs them to the page)

  • This reply was modified 9 years, 4 months ago by Tony. Reason: code formatting


Andrew Moorhouse

July 22, 2015 at 5:22 am

Thanks so much for your assistance, worked perfectly.

had to edit the line you sent as it had “” vs ” but after that 100%

Thank you again for your expert advice, support like this is had to find ๐Ÿ™‚


Tony

  • Support Staff

July 22, 2015 at 5:41 am

Yeah I see what you mean, that’s the forum editor trying to be overly helpful.

I’ve removed the fancy formatting so it shows the correct code.

Thanks for the feedback, it is always appreciated ๐Ÿ™‚

Viewing 8 reply threads

The support post ‘Entry Page Layout’ 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