🇩🇪Germany @rockmachine

Account created on 4 March 2023, over 1 year ago
#

Recent comments

🇩🇪Germany rockmachine

Hi Ben, sorry for late reply.

All this was very helpful, thank you very much. The problem was 2 things:

1. because of cancelled imports, there was a really long queue of 250.000 elements, actually there are only 7000 elements in that calendar. i deleted the content of the "queue" in the database, and got that fixed.

2. i added some code to the "icalitem.php":

New Protected Properties Added:

In the modified file, the following protected properties were added:
$exrule
$contact
$url
$x_instant_event

and a new method was added:

A new method set was added in the modified file. This method allows setting the value of a property dynamically:

php
Code kopieren
/**
* Sets the value of a property.
*
* @param string $name
* The name of the property.
* @param mixed $value
* The value of the property.
*/
public function set($name, $value) {
if (property_exists($this, $name)) {
$this->$name = $value;
}
}
These changes introduce additional properties to the class and provide a new method for setting property values dynamically, enhancing the flexibility and functionality of the class. ​​

Right now, it is importing perfectly, and it takes like 5 mins for the 7000 calendar entries (most of them only get checked for changes).

hope this could help you fixing the module, in case my case is not too "special". i am quite new to Drupal, so i hope what i did is safe...

thank you very very much for caring, this is amazing. i think your module is one of the essential ingredients of my whole process setup. and it works perfectly now.

alll the best,

flo

🇩🇪Germany rockmachine

Dear Ben, thank you for your reply. I will now work on it and get all details here. You already told me a direction, the watchdog one. We just deleted 20 GBs of logfiles there, and didn't know where so many logs were coming from. We will now look into it and get back to you. This is very helpful.
Thank you very much and speak soon, your's gratefully, Flo

🇩🇪Germany rockmachine

im using superfish, but there is also https://www.drupal.org/project/tb_megamenu →

both are good i think :-)

🇩🇪Germany rockmachine

Thank you, yes i tried this Module and it works. Problem ist only that the Pop-up only Shows Up when you hit the 'register' Link. It doesnt Pop Up in its own. 

Is there maybe any way to get this fixed?

🇩🇪Germany rockmachine

thank you, i am still searching. hopefully will find it soon.

🇩🇪Germany rockmachine

not yet but ill try this now. maybe this works. https://www.drupal.org/project/simple_popup_blocks/issues/3350919 🐛 Uncaught TypeError: $(...).once is not a function with Drupal 10 RTBC

🇩🇪Germany rockmachine

dear VM

thank you alot, this one does the trick:

https://www.drupal.org/project/language_switcher_menu →

gracias por le help, thank you very much :-)

🇩🇪Germany rockmachine

ok will do :-) thank you!

🇩🇪Germany rockmachine

thank you. can i integrate the language switcher into my main menu with this?

🇩🇪Germany rockmachine

we have many ukrainian fugitives in germany. im running a german local events mag.

you are ukrainian, and there is an german article about a certain event, and in the header, there is the language chooser in the main menu.

so you are on that article page, and you see that in the main menu there is that language chooser (i call it DE EN FR NL УА 中 日 so that all peole cann see its a language chooser), and you press on ukrainian language. but then you end up on the front page.

only the core system language chooser knows where is, its contect sensitive, so you are on that german article, you press ukrainian, and thenyou are on the same articel, in ukrainian language and not the front page

hope it makes more clear what i want to achieve. thank you for helping me :-)

🇩🇪Germany rockmachine

after trying loads of things, ive rolled back to 10.1.5 and de-installed photoswipe and the submodule. so that was the solution. thank you for the help, its working now.

🇩🇪Germany rockmachine

Have tried, but its the submodule of the photoswipe Module, which came with my symnews theme. I also installed the library, which IS only available on GitHub, but doesnt Work... 

Thanks for trying to Help. Maybe you got a hint what direction i still could Go?

🇩🇪Germany rockmachine

thank you will try this out now. this looks exactly like the stuff which makes sense. :-)

🇩🇪Germany rockmachine

thank you! :-)will go there and check

🇩🇪Germany rockmachine

thyk you for getting back, sorry i cant put a link here because the project is still unknown and i cant put it to the internet yet. can we perhaps speak on dm? we could do a videocall or so and i can show you all.

🇩🇪Germany rockmachine

ok thank you, will do so... makes sense of course. :-)

🇩🇪Germany rockmachine

hi dear, thank you for this. this is very nice. i am already working on it. please forgive my late answer, its only because i have so much to do...

will now try this out and get back to you. the community here is awesome.

🇩🇪Germany rockmachine

wow, this is very very nice of you. ill do that. yes, im a paying customer, have the regular 20 dollar model... ill try out now what you suggest and get back to you. thank you :-)

🇩🇪Germany rockmachine

hi again, thank you for this.

ive tried to use the Chatbot API but it seems to only be a logic which connects, there is no frontend user interface i think, this would come from e.g. alexa or other chatbots, but there is no chatgpt one yet.

about AI Chat: i installed it and the window also opened, after i connected it with the API key of openai, but i only get this message:

OpenAI\Exceptions\ErrorException: The model `gpt-4` does not exist or you do not have access to it. Learn more: https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4. in OpenAI\Transporters\HttpTransporter->throwIfJsonError() (line 131 of /www/htdocs/w01e3ae5/vendor/openai-php/client/src/Transporters/HttpTransporter.php).

i tried also the other 3 models, but its giving me the same report, except 3.5, where i got this: OpenAI\Exceptions\ErrorException: You exceeded your current quota, please check your plan and billing details. in OpenAI\Transporters\HttpTransporter->throwIfJsonError() (line 131 of /www/htdocs/w01e3ae5/vendor/openai-php/client/src/Transporters/HttpTransporter.php).

but i didnt have my quota exceeded, i logged in just before...

not sure, maybe you know how that would work?

my idea now would be down this alley:

https://community.openai.com/t/embedding-a-gpt-in-website/484098/3

havent tried it out yet, maybe it would work.
 

🇩🇪Germany rockmachine

Hi, thank you for the very helpful words. Ive joined your slack talk, and also am trying out those things you write. Im now beginning with the AI Chat module, will try to connect that to my GPT. Hope that will work in some way.

Would be great to get more involved n what you guys are working on. But im new to the drupal "scene". in case you have any kind of meeting, where nubees can attend, please let me know. my plan is to make a cool chatbot for my mag, which knows it all, which uses e.g. supabase to even know after a few weeks about the last talk, and so on. and a whole big pile of additional ideas.

🇩🇪Germany rockmachine

thank you gisle and tolstoy. have thought alot about this now and i changed my mind, will keep it as it is now. the account gets deleted, but the comments will be kept as guest comments. and the occasional drunk who wakes up the next morning and sees all the crazy comments he made and then wants to delete everything at once needs to just get in touch, or delete everything manually. ill can calm him down then anyway. ill now just follow your suggestions, these make sense. thanks!

🇩🇪Germany rockmachine

i accidentally now found this, https://www.drupal.org/project/email_confirmer →

ill try it out now and see if that works.

 

🇩🇪Germany rockmachine

ok thank you. Ill work on it. How should i call it? So that the community can detect it easily in case i am able to make something and put it up? thank you for your help.

🇩🇪Germany rockmachine

Thank you, Gisle, for your prompt and insightful response. The idea of associating the newsletter registration with the membership itself is ingenious, and I'll definitely keep it in mind for future considerations.

I'm inclined towards implementing an additional double-opt-in process for email address changes. However, as far as I'm aware, Drupal 10 doesn't natively support this feature. Would this mean I'd have to develop a new module to achieve this? Or is there perhaps an existing solution or module that caters to this specific need?

Your insights have been incredibly valuable. I truly appreciate the guidance!

🇩🇪Germany rockmachine

thank you, this definitely helped me getting it into the right direction. the anticipation for the webhook now is a dramatically high level. i simply cannot wait anymore to start webhooking the world. can you maybe give me a recommendation which hooks have helped you hooking? would be awesome. aaaaaaaahhhh i caaaaant waiiit to hook :D

🇩🇪Germany rockmachine

hi, hope you are all well.

so today, ben has updated the ical feeds module, so its compatible with d10. i once installed the module using the lenient endpoint, and worked with it, but now of course would love to kick out the lenient endpoint again and replace the module. would you have any recommendations how to do this? just replace the module folder and run the update.php? how do i get rid of the lenient endpoint?

the thing is: the whole thing is working so well, would be a pity to do something wrong now. ical feeds is working fine with d10.

thanks for your help in advance, and thank you for caring about this module.

🇩🇪Germany rockmachine

Wheeeew. This is some great News. Thank you so much Ben 🙏🏾 cheers

🇩🇪Germany rockmachine

ok an update. over the past few days, ive been trying to put in an image into my view for the rss feed, using the views rss module, but no luck. as much as i try one of the possibilities (with absolute url, wothout, with text override etc.), i never get to see an image in the rss feed. i need the image basically as a url with an absolute path, but there is NEVER anything, as much as i try. and i tried alot. maybe you have an idea what i could do? even the log files dont say anything, it just does not put the image into the rss feed.

i have installed a few modules (or better: the theme im working with) has these:

Blazy: https://www.drupal.org/project/blazy →

i am not sure, but that is one of the things i suspect to be behind the mystery why i cant put images into the rss feed.

i got these fileds:

Content: Title
Content: Bild
Content: Images
Content: Images:delta

Content: Link to Content
Content: Authored on
Content: Body
Content: All taxonomy terms
Content: Link to Content (guid)
 

at least on of the three image ones could show something? but nothing in the feed at all!

heres the result:

<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0" xml:base="https://newsmagazin.de/en">
  <channel>
    <title>Echobox RSS Feed</title>
    <link>https://newsmagazin.de/en</link>
    <description/>
    <language>en</language>
    <atom:link rel="self" href="https://newsmagazin.de/en/echoboxrss"/>
    <lastBuildDate>Mon, 10 Jul 2023 18:20:21 +0700</lastBuildDate>
    <pubDate>Thu, 06 Jul 2023 19:40:04 +0700</pubDate>

    <item>
      <title>St. Mang Church just an illusion</title>
      <link>https://newsmagazin.de/de/kultur-titelgeschichte-news/st-mang-church-jus...
      <description>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas purus nisl, eleifend sit amet fermentum non, congue ac mi. Vivamus ut tortor eget ex pulvinar varius quis non magna. Praesent venenatis interdum mi id dictum. Proin feugiat sem ex, vel elementum eros hendrerit nec.</description>
      <category domain="https://newsmagazin.de/de/tags/kempten">Kempten</category>
      <category domain="https://newsmagazin.de/en/kultur">Kultur</category>
      <category domain="https://newsmagazin.de/de/tags/sepultura">sepultura</category>
      <category domain="https://newsmagazin.de/en/news-type/text">Text</category>
      <category domain="https://newsmagazin.de/de/titelgeschichte-news">Titelgeschichte</category>
      <guid isPermaLink="true">https://newsmagazin.de/de/kultur-titelgeschichte-news/st-mang-church-jus...
      <pubDate>Thu, 06 Jul 2023 14:40:04 +0200
      </pubDate>
      <source url="https://newsmagazin.de/en/echoboxrss">Echobox RSS Feed</source>
    </item>
    <item>
      <title>Mickymaus in Friesenried gesichtet</title>
      <link>https://newsmagazin.de/de/kultur-titelgeschichte-news/mickymaus-friesenr...
      <description>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas purus nisl, eleifend sit amet fermentum non, congue ac mi. Vivamus ut tortor eget ex pulvinar varius quis non magna. Praesent venenatis interdum mi id dictum. Proin feugiat sem ex, vel elementum eros hendrerit nec.</description>
      <category domain="https://newsmagazin.de/en/kultur">Kultur</category>
      <category domain="https://newsmagazin.de/en/news-type/text">Text</category>
      <category domain="https://newsmagazin.de/de/titelgeschichte-news">Titelgeschichte</category>
      <guid isPermaLink="true">https://newsmagazin.de/de/kultur-titelgeschichte-news/mickymaus-friesenr...
      <pubDate>Fri, 30 Jun 2023 13:43:45 +0200
      </pubDate>
      <source url="https://newsmagazin.de/en/echoboxrss">Echobox RSS Feed</source>
    </item>
    <item>
      <title>Bad Hindelang Viehscheid 2023: Das eindrucksvolle Alpabtrieb-Erlebnis im Herzen des Allgäus</title>
      <link>https://newsmagazin.de/de/kultur-titelgeschichte-news/bad-hindelang-vieh...
      <description>Die alljährliche Tradition des Alpabtriebs, bekannt als "Viehscheid", in Bad Hindelang ist ein Highlight im Allgäuer Veranstaltungskalender. Tausende Besucherinnen und Besucher freuen sich schon auf den 11.</description>
      <category domain="https://newsmagazin.de/de/tags/hindelang">hindelang</category>
      <category domain="https://newsmagazin.de/en/kultur">Kultur</category>
      <category domain="https://newsmagazin.de/en/news-type/text">Text</category>
      <category domain="https://newsmagazin.de/de/titelgeschichte-news">Titelgeschichte</category>
      <category domain="https://newsmagazin.de/de/tags/viehscheid">viehscheid</category>
      <guid isPermaLink="true">https://newsmagazin.de/de/kultur-titelgeschichte-news/bad-hindelang-vieh...
      <pubDate>Tue, 27 Jun 2023 22:21:07 +0200
      </pubDate>
      <source url="https://newsmagazin.de/en/echoboxrss">Echobox RSS Feed</source>
    </item>

no image stuff in there. nothing. im clueless :-)

🇩🇪Germany rockmachine

oh wow, that simple. thank you. ive changed the site backend to english and there we go, it works.

prob is only, that once i switch it back to german, the feed doesnt work anymore again bcs of the additional letters in the months...

cant i somehow "pin" the rss feed language to english although all the rest in in german language? or how do other people get this thing fixed?

thank you again for your help. 100000 times appreciated.

🇩🇪Germany rockmachine

thank you, did that. i saw there are 2 new posts, from yesterday. will wait and check what comes out with the new patch. will meanwhile do the other things on my site which are currently getting tlced ;D

🇩🇪Germany rockmachine

alright, thats really good news. i need to focus more on the details, working on this...

is there any standard way on this forum how to "follow" developments like this, e.g. a new patch or update coming out?

or should i write to the maintainer? dont want to bug them in unneccesary ways...

thank you again for the advice. its very cool to always find a possibility out of the despair together. very much appreciated.

🇩🇪Germany rockmachine

thank you, yes, will link the modules in the future.

then ill contact the maintainer, maybe he is open to help to make it d10 - ready...

will not do the lenient again, i really tenderly love my site.

do you maybe know any alternative for feauturing a pic in the rss feed? i want to automate most of the sites datastream, and a pic in the rss to the outside would be the solution of quite a ton of things..

thanks gisle :-)

🇩🇪Germany rockmachine

another update: i downloaded composer.json and updated the version of feeds ical from 2.0 to 2.0.4, then ran the composer update to update composer.locl and that worked. i hope there wont be any more additional problems in the future. ive now installed views rss and it seems to work as well

🇩🇪Germany rockmachine

just an update, i havent managed yet to import data via the ical feed, but that is still in progress.

another thing came up: for a second part-project on my website, i need a proper rss feed so i tried to install views-rss. this didnt work, because there seems to be a dependancy with feeds ical. here what she shell gave me:

ssh-SSSSSSSSSS@SSSSSSSS:/www/htdocs/w01df431$ composer require 'drupal/views_rss:^2.0' --with-all-dependencies
Info from https://repo.packagist.org: #StandWithUkraine
./composer.json has been updated
Running composer update drupal/views_rss --with-all-dependencies
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires drupal/feeds_ical 2.0, found drupal/feeds_ical[2.0.0] but the package is fixed to 2.0.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
ssh-w01df431@dd11620:/www/htdocs/w01df431$

maybe you have an idea how i could solve this? can it be that the composer.json file which i had to alter is causing this?

🇩🇪Germany rockmachine

thank you again for your words, they caused a lot of things.

first, my source of "inspiration" is gpt, it talks alot of rubbish indeed but on the other hand i wouldnt be here without it, therefore the plusses outweigh the minusses at least from my todays point of view.

re the ical feeds module: thanks for the hints, i was able to install it now (lenient endpoint + patch + version 2.0.4), and im about to get it going right now i hope. the difficulties are now in mapping the right parameters, ill dive into it this weekend.

i dont close this topic yet, bcs i cant exclude the possibility yet that the difficulties come from parsing the datastream, but once i have clarity, ill get back here and write an update.

again, its very very nice and helpful to have advice from you guys here, this feels really good and its so much fun when it finally works ;) thank you!

🇩🇪Germany rockmachine

hi, thanks again for the advice. ive managed to get it installed, with the lenient thing, its working.

prob is only, when i want to create such a feed, i get an error message, the whole page only shows one error (that general error message i bet you know).

the report in the backend says its this error:

Error: Call to undefined function Drupal\feeds_ical\Feeds\Parser\drupal_get_path() in include() (line 5 of /www/htdocs/w01df431/modules/contrib/feeds_ical/src/Feeds/Parser/IcalParser.php).

and this is the interpretation including a first advice i found out:

The error indicates that the function drupal_get_path() cannot be found in the file IcalParser.php of the feeds_ical module. This is a bit odd, as drupal_get_path() is a core function of Drupal and should not be undefined.

A potential cause for this issue could be that the module is not fully compatible with your current version of Drupal. Given that the error message specifically points to the file IcalParser.php, it could be the case that this file does not properly work with newer versions of Drupal.

A potential solution could be to check whether you have the latest version of the feeds_ical module installed. If not, you should update the module.

If you are already using the latest version of the module, it could be helpful to inform the developers of the module about this error. It could be a bug that they need to fix.

In the meantime, you could try commenting out or removing the line of code that is causing this error, though this should only be considered a temporary solution and may not work depending on how critical this line is for the function of the module.

so my question is: what would you recommend?

again thanks for helping me on this, very much appreciated!

🇩🇪Germany rockmachine

thank you for this, a new tagged release would be just amazing :-)

🇩🇪Germany rockmachine

thank you very much for the advice. willl work on this now. exciting :-) will get back atcha

🇩🇪Germany rockmachine

absolutely agree, its all done on a test environment, and then once it works and its tested, i move it to live. right now, im still in the process of finding the right ingredients for my little soup, but i bet a drupal10 - modified Feeds iCal could do the trick, since i dont have (and i dont want to have) any special challenges. i just want the title, date, body text, picture and other elements like url to be transformed into an article, which i can review and approve.

background is that many local event promoters will then submit their events, and i then dont need to always copy paste to make an article out of them as well, but just review and approve them. sounds like the future but i bet this can already be done in 2023 ;) hehe

🇩🇪Germany rockmachine

thank you. hehe yes, in fact this is the module i have in mind, and i already wrote to ben, who is one of the maintainers. maybe he will answer soon, it would help really alot.

im new to drual since a few months, so i dare not to say at this point that i could become a maintainer myself. at a later stage im totally open to it of course, but right now i still feel very much at the beginning of this wonderful cosmos.

thank you for your reply, this is very cool to see.

i cant estimate how risky it is to bypass the version constraint... maybe you have an idea? i am open to experiments, its not a huge corporate website but just a cool magazine.

🇩🇪Germany rockmachine

ok, thank you, this is super helpful. i made these steps, and the error is gone. it was quick and easy. finally something i understood right away. thank you.

not sure why, but the popup isnt showing up tho, i tried many different browsers, paused the consent banner, refreshed and flushed the cache alot, but no popup. its like im kind of cursed :D maybe you have an idea what i could do?

🇩🇪Germany rockmachine

now i was also able to fix that cookie thing, but then this error appeared:

Uncaught SyntaxError: Unexpected token '.' (at quicktabs.js?v=10.1.0:83:14)

which i also fixed, it was only a minor typo in the editing of the quicktabs.js.

but now the first error appears again:

drupal.js?v=10.1.0:64 Uncaught TypeError: once is not a function
    at Object.attach (quicktabs.js?v=10.1.0:13:7)
    at drupal.js?v=10.1.0:166:24
    at Array.forEach (<anonymous>)
    at Drupal.attachBehaviors (drupal.js?v=10.1.0:162:34)
    at drupal.init.js?v=10.1.0:32:12
    at HTMLDocument.listener (drupal.init.js?v=10.1.0:20:7)
attach @ quicktabs.js?v=10.1.0:13
(anonymous) @ drupal.js?v=10.1.0:166
Drupal.attachBehaviors @ drupal.js?v=10.1.0:162
(anonymous) @ drupal.init.js?v=10.1.0:32
listener @ drupal.init.js?v=10.1.0:20
setTimeout (async)
Drupal.throwError @ drupal.js?v=10.1.0:63
(anonymous) @ drupal.js?v=10.1.0:168
Drupal.attachBehaviors @ drupal.js?v=10.1.0:162
(anonymous) @ drupal.init.js?v=10.1.0:32
listener @ drupal.init.js?v=10.1.0:20
Error with Permissions-Policy header: Unrecognized feature: 'ch-ua-form-factor'.

once is not a function...

🇩🇪Germany rockmachine

an updater. i worked on this issue in the last hours, and managed to get rid of it. it was only a tiniy little code replacement, which took me many days already.

but now the popup doesnt show up yet, there is a next error which came up:

13:39:28.634 Uncaught TypeError: $.cookie is not a function attach
https://XXXmagazin.de/modules/contrib/quicktabs/js/quicktabs.js?v=10.1.0:140 jQuery 2 attach https://XXXmagazin.de/modules/contrib/quicktabs/js/quicktabs.js?v=10.1.0:135 jQuery 2 attach https://XXXmagazin.de/modules/contrib/quicktabs/js/quicktabs.js?v=10.1.0:124 attachBehaviors https://XXXmagazin.de/core/misc/drupal.js?v=10.1.0:166 attachBehaviors https://XXXmagazin.de/core/misc/drupal.js?v=10.1.0:162 <anonymous> https://XXXmagazin.de/core/misc/drupal.init.js?v=10.1.0:32 listener https://XXXmagazin.de/core/misc/drupal.init.js?v=10.1.0:20 quicktabs.js:140:32 attach https://XXXmagazin.de/modules/contrib/quicktabs/js/quicktabs.js?v=10.1.0:140 jQuery 2 attach https://XXXmagazin.de/modules/contrib/quicktabs/js/quicktabs.js?v=10.1.0:135 jQuery 2 attach https://XXXmagazin.de/modules/contrib/quicktabs/js/quicktabs.js?v=10.1.0:124 attachBehaviors https://XXXmagazin.de/core/misc/drupal.js?v=10.1.0:166 forEach self-hosted:203 attachBehaviors https://XXXmagazin.de/core/misc/drupal.js?v=10.1.0:162 <anonym> https://XXXmagazin.de/core/misc/drupal.init.js?v=10.1.0:32 listener https://XXXmagazin.de/core/misc/drupal.init.js?v=10.1.0:20

the problem is that there seems to nbe a jquery cookie library, but it got replaced with a new one, js-cookie, and im just trying to find out of this somehow, in order to get the popup dsiplayed. hope somebody could help. would be super nice. thank you.

 

🇩🇪Germany rockmachine

Thank you very much for your thoughts. I've reinstalled the module and am now trying to apply the patch. The problem is, this is my first time doing this, and I don't really know what exactly to do. I'm using Putty and have done the following:

  1. I downloaded the file uncaught_typeerror_once.patch from the above-mentioned source.
  2. I uploaded this file into the simple_popup_blocks folder.
  3. I used the following command in SSH: patch -p1 < uncaught_typeerror_once_0.patch

But I got the following result:


ruby

ssh-w01df431@dd11620:/www/htdocs/w01df431/modules/contrib/simple_popup_blocks$ patch -p1 < uncaught_typeerror_once_0.patch patching file js/simple_popup_blocks.js Hunk #2 FAILED at 110. 1 out of 3 hunks FAILED -- saving rejects to file js/simple_popup_blocks.js.rej patching file simple_popup_blocks.libraries.yml Hunk #1 FAILED at 6. 1 out of 1 hunk FAILED -- saving rejects to file simple_popup_blocks.libraries.yml.rej

And in the console, I'm still getting the following report:


javascript

Uncaught TypeError: $(...).once is not a function ... Uncaught TypeError: $.cookie is not a function ...

These are being triggered at URLs on my site, XXXmagazin.de, specifically in the paths modules/contrib/simple_popup_blocks/js/simple_popup_blocks.js?v=10.1.0:113 and modules/contrib/quicktabs/js/quicktabs.js?v=10.1.0:140.

I'm unsure what's going wrong and need advice. Please let me know if you need any more information to assist me. Thanks in advance! would be very nice :-)

🇩🇪Germany rockmachine

ooooooh yes, that is exactly the problem. i tried to fix it, but my research told me that the "once" thing is a relict of old code, earlier drupal versions, so i thought i better abandon this vintage piece of software from my nice new magazine and try something else.

do you think i should try to fix that thing? the problem i have is: if there is unmaintained stuff like this, this could be the tip of the iceberg and much more problems are on the horizon with this module.

really looking forward to your thoughts! and thanks for putting my nose in this, very cool!!!!

🇩🇪Germany rockmachine

hi niyas, thank you. i have chekced for errors, also found some, but after longer inspections i decided to not continue to work with simple popup blocks, becuse it just didnt work.

thank you for the article, this is looking nice. ive checked them out, but its all for drupal 7 i think. i have a drupal 10 system running. do you have any recommendations how i could do a simple newsletter registration popup for drupal 10? would be awesome. i installed colorbox yesterday, but its just a lightbox, no popup functionality yet. i would have to use another module or script for the popup, but im still searching for a solution, havent found the right thing yet. thank you for all your help really... maybe you have an idea :-)

🇩🇪Germany rockmachine

thank you, there were some, but i debugged them, but the problem still existed.

Production build 0.71.5 2024