• Resolved mustermann

    (@mustermann)


    I have a problem with Event Manger and the shown Google Maps. Please have a look at this example:
    https://oldtimer-veranstaltung.de/kalender/termine/maitour-in-die-pfalz/

    You see in the map a “grey shadow” and “broken lines” in the detail section.

    Firebug shows this for the “grey section”:

    element.style {
    -moz-user-select: none;
    border: 0 none;
    height: 370px;
    left: -14px;
    margin: 0;
    padding: 0;
    position: absolute;
    top: -310px;
    width: 1144px;

    If I delete “-” in “top: -310px;” the wrong shadow is away!

    An the style for the broken lines are this:

    element.style {
    -moz-user-select: none;
    border: 0 none;
    height: 786px;
    left: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    top: -691px;
    width: 690px;

    If I delete “-” in “top: -691px;” the broken line is away and then ok!

    In which modul (*.js or *.php)you generate the element style hard code?

    That is not a good way to program.

    Thanke for help.

    https://www.ads-software.com/extend/plugins/events-manager/

Viewing 15 replies - 1 through 15 (of 15 total)
  • hi,

    how about if you preview using default theme twenty twelve just to narrow down the problem?

    Thread Starter mustermann

    (@mustermann)

    Agelonwl,

    I have test the site with WP theme “twenty twelve” with “Live Preview”.

    I have and I get with firebug this element.style for the grey section:

    element.style {
    -moz-user-select: none;
    border: 0 none;
    height: 370px;
    left: -14px;
    margin: 0;
    padding: 0;
    position: absolute;
    top: -310px;
    width: 1144px;

    And the “broken lines” have this element style

    element.style {
    -moz-user-select: none;
    border: 0 none;
    height: 786px;
    left: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    top: -691px;
    width: 690px;

    Why you use hard coded element style in *.js oder *.php?

    hmmm, works for me; also, maps are generated by google map api; and you can see the template file at wp-content/plugins/events-manager/templates/placeholders/locationmap.php

    btw, can I know your current EM version?

    Thread Starter mustermann

    (@mustermann)

    Hi agelonwl,

    I use Event Manager Plugin Version 5.3.9

    https://oldtimer-veranstaltung.de/kalender/

    and WP FullCalendar 0.8.2:

    https://oldtimer-veranstaltung.de/kalender/veranstaltungen/termine-in-kalenderdarstellung/

    the problems are “top: -310px;” —> “-” and “top: -691px;” —> “-“

    If you delete in firebug the “-” all is o.k.!

    just to narrow down the problem; can you try to temporarily deactivate other plugins to check for any conflict?

    Thread Starter mustermann

    (@mustermann)

    Hi agelonwl,

    I have deactivate one plugin after another and checked the map. The “grey section” and “broken links” are every time to see.

    Please have a look to firebug. If you go to the “grey section” you see a small rectangel up and on the broken lines an other small rectangle up.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    try deactivating your plugins AND reverting to twentytwelve to rule out possibilities, because as you can see, it works under normal circumstances:

    https://demo.wp-events-plugin.com/events/neil-young-main/

    Thread Starter mustermann

    (@mustermann)

    Marcus and agelonwl,

    I have deaktivate all plugins and take the theme twentytwelve as preview.

    I have the “grey section” and “broken lines”.

    If you use Firebug you will see on the map more hard coded element “element.sryle” features without any display.

    Sorry, you have many element styles in your *.php and *.js moduls.

    Thread Starter mustermann

    (@mustermann)

    I have Event Mangager installed on my webpage since 3 Versions Event Manger Plugin before Version 5.3.9.

    After installation all works fine. I cann′t remember if the “grey section” and “broken line” came with the Version 5.3.9 or before.

    Is it possible that ar in the updated plugin Event Manager is “old code” which is not deleted from the new version?

    Thank you for help.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    I’d say try actually switching your theme too, not sure if preview removes all use of any custom css/code.

    what you suspect could be the case, i.e. a file didn’t get overwritten (although we haven’t made changes to map css in a long while) the other alternative is to try reinstalling EM, or try installing an older WP theme like twentyeleven, in case you made changes to the theme files themselves, including 20 12.

    Thread Starter mustermann

    (@mustermann)

    Marcus, these are very bad ideas:

    Reinstall EM:
    – What happens with the all custom placements?
    – What happens with more than 200 events?
    – What happened with custom widgets

    If I change to twentyeleven or something else all widgets from theme PIHA (Elmastudio) are away.

    Do you have an idea for a patch to remove “-” in top: -310px; and top: -691px;

    Please have a look at my first post. Thats all!

    Thanks for help

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    nothing gets deleted unless you click ‘uninstall’ (you’ll also have to confirm deleting events etc.), otherwise you can safely delete the events manager plugin and install again.

    widgets should reappear once you install and activate EM again, can’t remember for sure but as long as you don’t visit the widgets page, ‘removed’ widgets are still remembered.

    with regards to themes, in recent WP versions your widget settings are saved whilst switching themes (very helpful!).

    the CSS in your OP is created by Google dynamically, so we can’t change that. the root of the problem is something else, given it works on our demo and various other sites/themes

    Thread Starter mustermann

    (@mustermann)

    Marcus, I have delete in wp-content/ plugin all from event-manager and have new installed Event Mangager V 5.3.9 Nothing has changed at “grey section” and “broken lines”.

    After new installation all widgets and events are okay as before:

    https://oldtimer-veranstaltung.de/kalender/termine/pfungstaedter-oldtimertreff/ or other event

    I have deleted the background from Theme Piha … nothing has changed.

    In the browser Chrome I found under element style and the mous over “grey section” following:

    Insdepctor-stylesheet
    .single.single-event.postid-xxx.custom-background.frame

    Do you have any idea about this?

    Thread Starter mustermann

    (@mustermann)

    Marcus, I have resolved the problem “grey section” and “broken line”:

    Please have a look at configuration Event Manager –> Allgemein –> Performance Optimation (beta) –> JS Datei laden begrenzen? –> Yes

    … no “grey section” and no “broken line” is seen on the event maps:

    For example: https://oldtimer-veranstaltung.de/kalender/termine/9-int-oldtimertreffen-fuer-motorrader-und-mopeds/

    I don′t understand it, but the experimental change from no to yes works.

    Thank you for help.

    thanks for updating us.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Problem with hard codes element.style {’ is closed to new replies.