Support

Home Forums Event Espresso Premium EE_Inline_Address_Formatter bug

EE_Inline_Address_Formatter bug

Posted: June 16, 2014 at 6:34 am

Viewing 3 reply threads


Jamie Grisdale

June 16, 2014 at 6:34 am

Hi, when there is no state (I’m not using them in the UK) there is no space or comma between the city and country or whatever follows country in the Inline formatted address. Also the state field shows 0 when empty (not a big deal just a little confusing for some users I would expect).


Lorenzo Orlando Caum

  • Support Staff

June 16, 2014 at 12:22 pm

Hello,

Could you share more information on where this address is being used in Event Espresso?

Is this your organization address, a venue address, or an address that an attendee enters?


Lorenzo


Jamie Grisdale

June 17, 2014 at 11:25 am

Hi Lorenzo,

It was a venue address, specifically I saw in the address which is passed to the Google map using wp_localize_script. I think it’s using this function:

espresso_venue_address( 'inline', $post->ID );

My address was coming out like this:

Address 1, Address 2, CityCountry Post Code

Hope that’s more clear.


Lorenzo Orlando Caum

  • Support Staff

June 17, 2014 at 1:16 pm

We have a states/provinces pack that is available for UK:

https://github.com/eventespresso/ee-packs-states-provinces

You could also add a comma after the city name and it should still be able to retrieve the address:

http://cl.ly/image/1P1i0v022q42


Lorenzo

Viewing 3 reply threads

The support post ‘EE_Inline_Address_Formatter bug’ 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