-
Posts
400 -
Joined
-
Last visited
-
Days Won
7
Stefanowitsch last won the day on November 13 2025
Stefanowitsch had the most liked content!
Contact Methods
-
Website URL
https://www.stefan-media.de
Profile Information
-
Gender
Male
-
Location
Germany
-
Interests
Web Design, Web Development, Music
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
Stefanowitsch's Achievements
Sr. Member (5/6)
386
Reputation
-
Hi @robert I have a basic question about the usage of this module. I want to use it for example to create description texts for images. This works - but on a image heavy site which features lots of different galleries I have to create each of this texts individually (by selecting the image, then click on the prompt option). Is there a way to configure the prompt so that it creates the alt text for every image in a "images" field at once?
-
Hi @robert I wanted to try out your module and activated the "test mode" in the module settings. It seems that I have entered an incorrect model ID (model name) in the module settings. But I cannot change/correct it. Everytime I try to enter the module settings, this error message appears: GuzzleHttp\Exception\ClientException #400 Client error: `POST https://api.openai.com/v1/chat/completions` resulted in a `400 Bad Request` response: { "error": { "message": "invalid model ID", "type": "invalid_request_error", "param": null, (truncated...) search► EDIT: I restarted my local dev environment and I was able to correct the settings.
-
This works perfect. The events from the whole year are returned. $events = $pages->find("template=event-item, rockcalendar_date.inRange='2026-01-01 - 2026-12-31', sort=rockcalendar_date, parent.template=event, limit=6"); However if I specify a certain month (like december only) - the recurring events - are not included in the results. $events = $pages->find("template=event-item, rockcalendar_date.inRange='2026-12-01 - 2026-12-31', sort=rockcalendar_date, parent.template=event, limit=6"); I have the feeling this is because those recurring events had their initial start date in january. When including january in the search query they are included in the results. I created like 100 recurring events (for each event-parent) so there are more than enough event pages in the backend that should take place in december. EDIT: There seems to be something wrong when creating those recurring events in the first place. I have to investigate this: - I create an initial start event for example on january the 5th - then I create 100 recurring events - the events are shown in the page tree under the event-parent page - on the rockcalendar_calendar field on the event-parent page I see the recurring events only for january. if i switch a few months into the future no recurring event of this series that I just created is visible EDIT 2: I installed an older version of this module (1.5.1) that I am using in a different project. The error is not happening here. All recurring events are shown in the calendar on the event parent and also the query selector is working (if december only is selected). I switched back to the current version (2.0.0) and the error is back. This is no deal breaker as I can use the older version instead but I just want to let you know.
-
I am struggling to make a selector that finds events from "today" until "the end of the current year". Note: Events are mixed - some are recurring, some are single. I would expect that I keep the recurring events until the end of this year together with the single events that will take place. I tried this but I keep getting all events until 2033... $now = time(); $lastDayOfYear = strtotime("last day of December this year 23:59:59"); $events = $pages->find("template=event-item, rockcalendar_date.start>=$now, rockcalendar_date.end<=$lastDayOfYear, sort=rockcalendar_date, parent.template=event, limit=6"); I also tried to use "inRange" but this only finds events for the next four months, not until the end of 2026 as expected. $now = time(); $lastDayOfYear = strtotime("last day of December this year 23:59:59"); $events = $pages->find("template=event-item, rockcalendar_date.inRange='".$now." - ".$lastDayOfYear."', sort=rockcalendar_date, parent.template=event, limit=6"); When using a selector that finds events from "january the frirst" until "the end of the current year" it works as expected: $firstDayOfYear = strtotime("first day of January this year 00:00:01"); $lastDayOfYear = strtotime("last day of December this year 23:59:59"); $events = $pages->find("template=event-item, rockcalendar_date.inRange='".$firstDayOfYear." - ".$lastDayOfYear."', sort=rockcalendar_date, parent.template=event, limit=6"); Has anybody experienced this behaviour? @bernhard can you verifiy this?
-
Thank you very much @bernhard! I respect and appreciate your decision. I was always a fan and user of your modules and I will be happy if the module-legacy will live on here and there.
-
Hi @markus-th! That is looking really promising. I was talking about that feature with a client not so long ago. They wanted to include a booking system (for "time slots") almost exactly like that. I am really looking forward to try out your module! Let me know when it is finished. To answer your questions: Is this something you would use? Is there a need for a native "Calendly" alternative? -> Yes. Is the dependency on Tailwind a dealbreaker? Since the markup relies on Tailwind utility classes, it might be hard to style if you use Bootstrap or custom CSS. -> I am not using Tailwind at all but UIKit. Would you provide a basic stylesheet with the module or is the Tailwind integration a must-have in that case? I am not afraid to tweak the module code to alter the style classes to make it work for UIKit, though.
-
In need for a Media Manager solution
Stefanowitsch replied to Stefanowitsch's topic in General Support
Until we get an "official" media manger module we need to make some workarounds. Let me tell you about my personal solution for this: I am using the FileMover module from @Robin S for copying images from a global "media library" field (that is placed inside a dedicated "media library" template ) to any of my image fields. Please have look at robins comment here where he extended the functionality of his module through a hook. In this case you can open the image library page through a modal with a click from any image field. There is also a small screencast that shows this – for me this is a really good workaround. Please have a look for yourself and give it a try (and some credits to robin!). -
I have a website where the client can set different colors via input fields on a page in the backend. I want to make use of those colors as CSS vars to use them in my stylesheets. I am doing it this way: <style> :root { --primary-color: <?=$globalSettings->bg_colorcode?>; --secondary-color: <?=$globalSettings->font_colorcode?>; --tertiary-color: <?=$globalSettings->titlefont_colorcode?>; } </style> Then I can simply "grab" those variables in my stylesheets: header { background: var(--primary-color); } I am using UIKit and LESS and this is working for me.
- 1 reply
-
- 3
-
-
WireWall - Advanced Security Firewall Module
Stefanowitsch replied to maximus's topic in Modules/Plugins
The custom AJAX endpoints that RockFrontend is using are basically PHP files located in: /site/templates/ajax/ So the requests go to: http://www.mysite.com/ajax/myEndpoint To prevent these requests from being blocked I tweaked this piece of module code: // WireWall.module.php line 1140 // Check if request URL contains /processwire/ or /admin/ or /ajax/ $requestUri = $_SERVER['REQUEST_URI'] ?? ''; if (stripos($requestUri, '/processwire/') !== false || stripos($requestUri, '/admin/') !== false || stripos($requestUri, '/ajax/') !== false) { return true; } -
WireWall - Advanced Security Firewall Module
Stefanowitsch replied to maximus's topic in Modules/Plugins
@maximus i really would like to give this module a try! I am having slight problems with spam bot form submissions from time to time. But: I am using custom ajax endpoints via the RockFrontend Module: https://www.baumrock.com/en/processwire/modules/rockfrontend/docs/ajax/ Although I enabled the "Allow AJAX from trusted module" checkbox in the module settings, the ajax requests are getting blocked (status 403) when WireWall is active. Is there a way to add "trusted modules" manually?