🇩🇪Germany @quotientix

Account created on 22 June 2007, over 17 years ago
#

Recent comments

🇩🇪Germany quotientix

I'm working on a server that I can't access via console/composer directly and I can't restart it manually. Any ideas on how to fix this?

🇩🇪Germany quotientix

Patch doesn't work for me. This makes the module unusable for me -.-

🇩🇪Germany quotientix

Having the same issue on some installations.

🇩🇪Germany quotientix

Thanks! Much appreciated!

🇩🇪Germany quotientix

The patch doesn't work for me. I did a workaround via CSS and Twig:

In the paragraph-Template I set the class:

'lang-' ~ paragraph.get('langcode').value

Via CSS I hide the "other" language:

html[lang=en] {
  .paragraph.lang-de {
    display: none !important;
  }
}
🇩🇪Germany quotientix

To fix this, I changed the code in addtocal-download.js to this:

Drupal.behaviors.addtocalDownload = {
    attach: function (context, settings) {
      // Trigger file download for any data links generated by addtocal.
      console.log("vor allem");
      $(once('addtocal', '.addtocal-container', context)).each(function () {
        $('.addtocal-link a', context).click(function (event) {
          var href = $(this).attr('href');
          if (/^data:/.test(href)) {
            var title = $('h1').text(); // My node-title
            // var filename = 'addtocal';
            if (/^data:text\/calendar/.test(href)) {
              title += '.ics';
            }
            download(href, title);
            event.preventDefault();
          }
        });
      });
    },

    download: download
  };

Maybe that helps for now.

🇩🇪Germany quotientix

Deactivating the caching in the view worked for me. Thanks!

🇩🇪Germany quotientix

Patch in #64 works for me in 10.2.2 - thanks for the team effort here!

🇩🇪Germany quotientix

Patch #50 is working for me. Thanks for the work!

🇩🇪Germany quotientix

Have you found a solution @RFord?

🇩🇪Germany quotientix

Thanks so much for posting this @leisurman!
Seems to work for me exactly like you described.

🇩🇪Germany quotientix

Drupal 9.5.2 and Matomo 1.20, PHP 8.1.13 breaks the site for me.
Rerolled to 1.19 to get it back up running.

Production build 0.71.5 2024