side panel not working

  • crossbow
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 month ago #14715 by crossbow
side panel not working was created by crossbow
When I'm trying to display the information in a side panel instead of the regular popup, it "breaks" the page.
I just get a blank page with no map.

I tried using the module as someone in the forum suggested but still the same result.
I know that the demo works but I have no idea why it doesn't work in my case.

Firefox doesn't give any errors in the console, Chrome gives two:
jquery-ui.min.js:6 - Uncaught ReferenceError: jQuery is not defined
and
objectmanager-min.js:13 - Uncaught TypeError: ae(...).tabs is not a function

As far as I can see jquery is loading.... Any suggestions?

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #14717 by Dima
Replied by Dima on topic side panel not working
Hi
It can be due your template loading JQuery library with delay (in the other order). And on time my code executed it is not loaded yet.

Try to do
wiki.zhuk.cc/index.php/Zh_OpenStreetMap_...efined_error_message

Ie load jquery library by my component

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

  • crossbow
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 month ago #14718 by crossbow
Replied by crossbow on topic side panel not working
I've tried adding adding the jquery path to the advanced options. That removed the error in the console, but still no map.|

Instead I got this:
 
  • Please Log in or Create an account to join the conversation.

    More
    2 years 1 month ago #14719 by Dima
    Replied by Dima on topic side panel not working
    Hi
    I can see that tabs is enabled (display information on tabs)
    I can't see map, probably you set width and height to 0 (expect responsive map). But it will not displayed with your default template.

    Do you have any errors in console?

    I can tell you more if you provide direct link to page with map

    Don't forget support my developments: post review in JED , donate , help with translation ;)

    Please Log in or Create an account to join the conversation.

    • crossbow
    • Topic Author
    • Offline
    • New Member
    • New Member
    More
    2 years 1 month ago #14720 by crossbow
    Replied by crossbow on topic side panel not working
    ok I found it!

    I had set the width/height to 100/100 and because of the small size the tab was covering the map.
    The moment I changed size, it was visible!

    Thank you for your help!

    Please Log in or Create an account to join the conversation.

    More
    2 years 1 month ago #14721 by Dima
    Replied by Dima on topic side panel not working
    Ok, have a good day ;)

    Don't forget support my developments: post review in JED , donate , help with translation ;)

    Please Log in or Create an account to join the conversation.

    Time to create page: 0.222 seconds
    Powered by Kunena Forum