zip code before city name

Home Forums Calendar Products Events Calendar PRO zip code before city name

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1463037
    Christoph Morre
    Participant

    When you look on the site “http://austrianoil.com/veranstaltungen/” you will see, that the zip code is behind the city name. In Austria correctly it must be written “zip code before city name”

    wrong -> Fernitz-Mellach, 8072
    correct -> 8072 Fernitz-Mellach

    The language of settings is partly in English and partly in German. On the Website “https://stieglerhaus.at”, where I also use Event Calendar Pro the display of “city code before city name” is correct.

    Thank you for your answer in advance
    Chris

    #1464511
    Cliff
    Member

    Hi, Christoph.

    This is the way our tribe_get_venue_details() puts the various strings together. You can override this function’s template site-wide by following our Themer’s Guide for this file: /wp-content/plugins/the-events-calendar/src/views/modules/address.php

    See that the postal code is below the region and above the country. You could move it to be above the region.

    Please let me know how this goes for you.

    #1464515
    Christoph Morre
    Participant

    Hello,

    I’m not satisfied with this answer. Please look on the site “https://stieglerhaus.at/veranstaltungen/list/” and their you will see that it is shown correct. And I did not change anything in php-file.

    Thank you
    Christoph

    #1465499
    Cliff
    Member

    Christoph, I’m not sure what was happening but I noticed https://stieglerhaus.at/veranstaltungen/ was displaying List View but it was only displaying 3 events.

    https://stieglerhaus.at/veranstaltungen/list/ was displaying List View but was displaying 8 events (but I’m guessing you don’t have 10+ upcoming events so this is normal/expected).

    So I’m really not sure why the 2 views would display both different address formats and a different number of events.

    Now I see https://stieglerhaus.at/veranstaltungen/ is Month View instead.

    Please let me know if you have any ideas about the differences in the two List Views if you’re still interested in using List View at https://stieglerhaus.at/veranstaltungen/ instead of Month View.

    #1465585
    Christoph Morre
    Participant

    Hello Cliff,

    the problem is not the number of events. It is defined about shortcode or widget.

    The problem I do not understand ist, that their is a problem with the language file. In English the zip code is written behind the city, in german before the city.

    When you look on the starting page you of “austrianoil.com” you will see that the link is in English, it should be in german. The same is in the admin panel, their are is partly written in german and partly in english.

    The settings are the same on both sides (stieglerhaus.at and austrianoil.com).

    Thank you very much for your further help
    Christoph

    #1465592
    Christoph Morre
    Participant

    Hi Cliff,

    it’s me again. I found the problem with the link. The language setting in WordPress was on German (Sie) and now I changed to “German” and it works.

    Now their is only the problem with zip behind city.

    Thx Chris

    #1466665
    Cliff
    Member

    Thanks for the additional information.

    Please follow my previous instructions: https://theeventscalendar.com/support/forums/topic/zip-code-before-city-name/#post-1464511

    Once you do, please let me know how it goes for you.

    #1466764
    Christoph Morre
    Participant

    Hi Cliff,

    thank you very much, it works. But what happens when I have to update the plugin?

    Looking forward to hear from you.
    Christoph

    #1466767
    Cliff
    Member

    Glad to hear!

    It’s rare for this file to change.

    I’d only guess it might change on major versions, such as going from 1.0.0 to 2.0.0 or possibly 1.0.0 to 1.1.0, but not minor versions like 1.0.0 to 1.0.1

    Really, though, we’d likely mention any template changes in our Release Notes / Changelogs for each version update because we know people would want to update their template override as such.

    #1466768
    Christoph Morre
    Participant

    Thank you very much, GREAT SUPPORT – I like it!

    Have a nice day
    Christoph

    #1466772
    Cliff
    Member

    You betcha! 🙂

    To be clear, you should be doing the Template Overrides in your active theme (preferably a child theme), not modifying our plugin’s core file. This is so that your customization is not lost when our plugin is updated.

    Have a great rest of your week.

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘zip code before city name’ is closed to new replies.