Posted: June 24, 2015 at 2:15 pm
|
After the last Update the States/Provinces Pack: Germany doesn’t work anymore. Is there any solution? thx |
Hi Merlin, those packs work by adding that data into your database. They do not need to be activated again once they have been initially activated. What isn’t working? Thanks — |
|
|
After the last Update i only see USA and Canada again. before there was the States/Provinces of Germany too. i have followed the installation on your website https://eventespresso.com/wiki/install-new-state-province-packs/ but in the main settings and anywhere else i can’t find them. thanks for your help |
Hi Merlin, I tested this on the 4.7.x platform and the provinces are appearing. Could you double-check that your settings look like this in the Countries tab when Germany is selected? http://cl.ly/image/2O0E11373g0o Note that Germany should appear in the dropdown list and the individual provinces should be enabled. — |
|
|
Nope, my settings looks like this: i’ve tried to reinstall the provinces pack but nothing changed. |
That is strange as the information doesn’t appear to be there at all. Could you share a temporary login so we can continue troubleshooting? https://eventespresso.com/send-login-details/ — |
|
|
i’ve send the login to you… |
Hi Merlin, we haven’t run into this before so I manually restored them through the Countries screen. Thanks — |
|
|
wow thank you very much for your help!! 🙂 EE has a really good support by the way… |
|
Hi, Anything else we can help with regarding this topic, or may we mark it as resolved? |
|
two thinks i’m working on. first. is there a way to only show the states/provinces in the event-header? By now i managed it with <?php espresso_venue_name(); ?> but this is the name of the venue and and espresso_venue_address() shows me the whole address. in the pic the marked red: second. is there a way to sort events, maybe in the calendar, by locations (states)? thx |
|
Hi, Well, in theory both should be possible, but both would require customisations beyond what support can offer. You could contact one of our recommended developers: https://eventespresso.com/developers/event-espresso-pros/ In brief I think that the first could be accomplished by either hooking into the event header (or more likely using a custom template tag as there doesn’t seem to be a hook available), and then calling the EE_Event class via the $post object. The second is definitely more complex, though this example query would be a good starting point https://gist.github.com/joshfeck/e3c9540cd4ccc734e755 It’s unlikely that you would be able to filter by state in the calendar unless you did some major modifications. |
September 12, 2015 at 11:59 am Hello again Merlin, 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 (e.g. zip/postal code appears before the city). Below that is another entry for Singapore which has a country code of SG with a specific formatting for the address. New entries for additional countries could be added as needed. 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! — |
|
|
hi lorenzo, nice to hear… i’ve changed it in my functions.php. thanks |
The support post ‘States/Provinces Packs doesn't work’ 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.