Support

Home Forums Event Espresso Premium Spacing issue with venue manager address display

Spacing issue with venue manager address display

Posted: December 17, 2014 at 8:07 am


Sarah

December 17, 2014 at 8:07 am

By default EE4 doesn’t allow a space between the town and postcode with venues in the venue manager:
http://screencast.com/t/htHWpdQ75


Lorenzo Orlando Caum

  • Support Staff

December 17, 2014 at 12:55 pm

Hi, are all of the venue address fields in use or is there a province/state that is selected?


Lorenzo


Sarah

December 18, 2014 at 6:54 am

Province and states are for US use only, those aren’t needed when in the UK


Tony

  • Support Staff

December 18, 2014 at 7:46 am

Hi Sarah,

For the UK the State/Province field would be re-purposed to be used as a County field. We have a ticket to improve how these work for the UK and change some of the phrasing when the UK is selected in a future version of EE4.

You can install a UK ‘State’ pack that will add many UK counties to the dropdown. That is available here:

https://eventespresso.com/wiki/install-new-state-province-packs/

You can then see these within Event Espresso -> General Settings -> Countries.


Lorenzo Orlando Caum

  • Support Staff

September 12, 2015 at 11:32 am

Hi Sarah,

We wanted to let you know about an enhancement in the current version of Event Espresso 4 that offers more flexibility for venue addresses.

First, please backup your WordPress site and upgrade to the latest release of Event Espresso 4:

https://eventespresso.com/wiki/ee4-changelog/

Next, there is some sample code in this link:

https://gist.github.com/lorenzocaum/5e2658a1f7e7a9a6b5c0

Here is an explanation of the sample code:

In the older versions of Event Espresso, you could change the formatting for the venue address. However, this would apply to all venue addresses. The new enhancement is more flexible as it allows you to change the formatting for certain countries.

In the example code, we have an entry for United Kingdom which has a country code of GB. Then we have the actual formatting which doesn’t include the province or the country name.

Just below that, we have an entry for Canada which has a country code of CA. In Canada, the zip/postal code appears as the end of the address so the formatting will show it in that order.

Below that is an entry for Germany which has a country code of DE with a specific formatting for the address.

If you have modified the venue address through an existing function, then you may consider switching to the new one mentioned in the link above.

Thanks!


Lorenzo

The support post ‘Spacing issue with venue manager address 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.

Event Espresso