Plugin not rendered in Jevents

  • f.o.g.
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 7 months ago #14855 by f.o.g.
Plugin not rendered in Jevents was created by f.o.g.
Hi,
I use the standard Joomla 4 template (cassiopeia) with JEvents. When using the plugincode ({zhosmmap-marker:1}) inside an event it won't render the map. I can see a whitespace created by the div, but no map. Using the same plugincode inside a standard joomla article it works perfectly fine.

Any idea what I'm doing wrong?

This is an event with the plugin code.
www.kunstverein-hoyerswerda.de/veranstal...oss-hoyerswerda.html
 

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

More
1 year 7 months ago #14856 by Dima
Replied by Dima on topic Plugin not rendered in Jevents
Hi
In console I can see error

 

It means some JEvent plugin breaks my code
You can see details
 

It added line breaks, which is not expected

My code have to be like
Code:
var contentString_com_jevents__0_1_mrk = '<div id="placemarkContent" class="placemarkContent" >' + '<h2 id="headContent" class="placemarkHead">Veranstaltungen</h2>'+ '<div id="bodyContent"  class="placemarkBody">'+ ''+ '</div>'+ '</div>';

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.194 seconds
    Powered by Kunena Forum