#125 working for me in 10.3.6. Thanks!
quotientix → created an issue.
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;
}
}
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.
Deactivating the caching in the view worked for me. Thanks!
Patch in #64 works for me in 10.2.2 - thanks for the team effort here!
Patch #50 is working for me. Thanks for the work!
Have you found a solution @RFord?
quotientix → created an issue.
Thanks for posting the module! +1
quotientix → created an issue.
Thanks so much for posting this @leisurman!
Seems to work for me exactly like you described.
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.