1up-lab / contao-points-of-interest

Use this Contao module to highlight the points of interest of your products.
MIT License
0 stars 1 forks source link

Lightbox is empty #8

Closed johannes-bittner closed 3 years ago

johannes-bittner commented 3 years ago

Contao 4.9.9 (cyon), release 2.1.2: lightbox ist empty (no content)
The lightbox overlay just zooms in, but without content. Tested in two installations ... (sorry for being so persistent ...)

grafik

kikmedia commented 3 years ago

Confirmed. The point ist that the variable $content is empty, even if there is a record in tl_content for it. There, $poi_id is empty.

> "src" => "assets/images/e/STS%20_Graphic%20HiL-480bc24e.svg"
  "addBefore" => true
  "margin" => ""
  "pointOfInterest" => array:2 [
    0 => array:13 [
      "id" => "3"
      "pid" => "4"
      "tstamp" => "1605739058"
      "sorting" => "256"
      "title" => "Test 1"
      "position" => array:4 [
        "x" => 734
        "y" => 412
        "pX" => 41.259
        "pY" => 41.241
      ]
      "cssID" => ""
      "published" => "1"
      "start" => ""
      "stop" => ""
      "url" => ""
      "addLink" => ""
      "content" => []
    ]
bytehead commented 3 years ago

Should be fixed in 2.1.3.

kikmedia commented 3 years ago

Works for me, thanks a lot. How may I find your whishlist?

bytehead commented 3 years ago

I don't have any 🙃 Let's have a beer at the next Contao Conference|Camp 😎

kikmedia commented 3 years ago

Sounds reasonable. As long as we stay with beer, I will be fine with that.