-
Posts
404 -
Joined
-
Last visited
-
Days Won
2
Everything posted by zoeck
-
website kuenstlerischepraxis.at is not answering
zoeck replied to kuenprax's topic in General Support
You can check the online status here: https://downforeveryoneorjustme.com/kuenstlerischepraxis.at As Gideon So wrote, you should contact your hoster to find out what's going on. -
That's right 😉 Normally, every Internet connection should support IPv4
-
Just have a Look at https://all-inkl.com/en/ I have been there for many years and am extremely satisfied. The admin panel (“KAS”) looks a bit old-fashioned, but it does what it's supposed to. The only disadvantage (if there is one) is that there is only IPv4 and no IPv6. The support is extremely fast and competent if a problem occurs, even at night!
-
RockForms - Simple, secure and versatile forms based on NetteForms
zoeck replied to bernhard's topic in Modules/Plugins
Thanks Bernhard for your example, I'll have a look to see if I can implement it like this 🙂 -
RockForms - Simple, secure and versatile forms based on NetteForms
zoeck replied to bernhard's topic in Modules/Plugins
The interesting part is actually steps 1 and 2. Step 3 is just a check by the user that all the data entered is correct Step 4 is the confirmation that the information has been saved. I have created a small mockup here, I think you can see what the form does. -
RockForms - Simple, secure and versatile forms based on NetteForms
zoeck replied to bernhard's topic in Modules/Plugins
For example, I have a case where I select a period in days in step 1 of the form. In step 2, the user should then be shown 3 checkboxes for each day that they can select (morning, midday, evening). While I'm writing this text, I'm not sure whether I need the forms-multiplier plugin at all. Is it possible to display a dynamic number of checkboxes in groups in a 2nd step with RockForms with a MultiStepForm? If that would work, I could also use RockForms without the additional plugin 😉 -
RockForms - Simple, secure and versatile forms based on NetteForms
zoeck replied to bernhard's topic in Modules/Plugins
Hello Bernhard, since I am currently revising some functions on a page, I would like to partially renew a few forms that currently run via their own scripts. I have encountered a problem where I don't know exactly how to implement this with RockForms. I have the possibility to add any entries in a form, I have also seen that there is a plugin for Nette Forms. Is it possible to use the forms-multiplier plugin in RockForms, or is there another way to implement this? Thanks 🙂 -
Hello Bernhard, I have a question about RockCommerce. I think I actually need exactly the possibilities that RockCommerce offers, i.e. ordering items and offering a price with information etc. But the customer should not pay for it. That sounds strange, but I would like to use the shop for an internal self-service portal 😉 Is that possible?
-
With the new version everything works again, thank you @bernhard 🙂
-
Hi @bernhard, I think i have found the cause of the error, i changed the Line 184 in RockFrontend.module.php to: require_once __DIR__ . "/vendor/autoload.php"; Just checked "$this->path" and it's null?
-
Hello @bernhard, I have just installed the RockFrontend update to v3.23.1 (form v3.21.2) in my dev environment. Unfortunately, my Processwire frontend no longer works at all. The whole thing has always worked without problems until now, my dev environment runs with ddev (Windows WSL2). The problem occurs from v3.22.0 onwards. ProcessWire\WireException Unable to load Latte File: /site/modules/RockFrontend/RockFrontend.module.php:2390 2380: // for regular page rendering we want the auto-prepend-layout feature 2381: // but for RockPdf rendering we don't want it. 2382: if ($this->noLayoutFile) $withLayout = false; 2383: else { 2384: $withLayout = $file === __DIR__ . "/default.latte" 2385: || dirname($file) . "/" === $this->wire->config->paths->templates; 2386: } 2387: 2388: // load latte and return rendered file 2389: $latte = $this->loadLatte($withLayout); 2390: if (!$latte) throw new WireException("Unable to load Latte"); 2391: return $latte->renderToString($file, $vars); 2392: } 2393: 2394: /** In the log file: rock‑frontend 29‑10‑2024 12:32:24 https://mypage.ddev.site/ Class "Latte\Engine" not found When I install v3.21.2 again, everything works again without any problems. Is there anything else that needs to be taken care of when configuring the new versions? Thanks 🙂
-
Thanks Bernhard, now the Ajax endpoints also work with .latte as file extension. 🙂 👍
-
Okay, that's weird… I tested it in my DDEV environment: Created the following Folder/files: templates/ajax/zeitbuchung/ajaxtest.php -> working templates/ajax/test.php -> working templates/ajax/test2.latte -> not working, Error 404 Content of the files is only "test" Checked the URLs in the Rockfrontend Config: Then testet the Endpoint /ajax/test2.l Working -> Endpoint: /var/www/html/site/templates/ajax/test2.latte /edit found the problem: // RockFrontend.module.php private function ajaxEndpoints(): array [..] // attach hook for every found endpoint [..] $url = $baseurl . substr($endpoint, strlen($folder), -4); The -4 is the problem 🙂 https://github.com/baumrock/RockFrontend/commit/064e37c0bfd4f9ae8377ae122e1b5426b18d52ee#diff-8223503ce304ec3ee54457dad412baf3a6f8701f67cd6fce3422de398e68907aR667
-
Hello Bernhard, extremely nice feature! I need just such a function 🙂 I only noticed one small thing, in the documentation it says that it must be a PHP file in the AJAX directory, in the Rockfrontend Config it says the following: I also tried it with a .latte file and that didn't work. Is this function still missing or is this just a wrong text? Thank you for your great modules!
-
You can use Google Translator Bar, but the result is usually much worse than that of the suggested Fluency with Deepl https://www.w3schools.com/howto/howto_google_translate.asp
-
You can use the WireDatabasePDO class 🙂 https://processwire.com/api/ref/wire-database-p-d-o/
-
Does the module actually do the same thing as the ‘FEEL module’ or are there big differences? It reads relatively the same to me.
-
Oh, that's really bad. Don't you have the hybrid option from deutsche telekom? I live in a village with only 1500 inhabitants and could order 250mbit/s immediately (but currently have 100Mbit/s). I'm currently waiting for my fiber line, which is already in the sidewalk in front of the house (up to 1000Mbit/s). It's hard to believe that there are such extreme differences in the country.
-
[Solved] Use checkbox array in block settings
zoeck replied to herr rilke's topic in RockPageBuilder
Go to the first post in this thread, click on the „…“ on the right side -> edit - and then edit the title ? -
[Solved] Use checkbox array in block settings
zoeck replied to herr rilke's topic in RockPageBuilder
Just edit the thread title and add [solved]? -
Now I have finally switched from Laragon (Windows) to DDEV (WSL2). My first attempt some time ago was not very successful, but this time everything worked straight away. However, I need a "special" feature for my project: sqlsrv/pdo_sqlsrv as a PHP extension for the connection to an MSSQL server That was a minor challenge at first, then i found some older scripts on Stackoverflow, but unfortunately they no longer worked. Here is a short guide on how to use sqlsrv (incl. msodbcsql18) with DDEV: Create a "Dockerfile" and a "install_sqlsrv.sh" inside of the .ddev/web-build folder Dockerfile: ARG BASE_IMAGE FROM $BASE_IMAGE COPY install_sqlsrv.sh /var/tmp/ RUN apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get install -y -o Dpkg::Options::="--force-confold" --no-install-recommends --no-install-suggests gcc make autoconf libc-dev pkg-config php-pear php-dev RUN /bin/bash /var/tmp/install_sqlsrv.sh install_sqlsrv.sh: #!/usr/bin/env bash export DEBIAN_FRONTEND=noninteractive # Install sqlsrv drivers. export PHP_VERSIONS="php8.1 php8.2 php8.3" # Note: Only works for PHP 7.0+. export PHP_SUFFIXES="8.1 8.2 8.3" OS=$(grep -P '(?<=^ID=)' /etc/os-release | cut -c 4-) VERSION=$(lsb_release -rs) if [ ! -f /etc/apt/sources.list.d/mssql-release.list ]; then curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | sudo gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg curl https://packages.microsoft.com/config/debian/12/prod.list | sudo tee /etc/apt/sources.list.d/mssql-release.list fi sudo apt-get update sudo apt -y update for v in $PHP_VERSIONS; do sudo apt-get install -y "$v" "$v"-dev "$v"-xml done if [ ! -d /opt/microsoft ]; then sudo ACCEPT_EULA=Y apt -y install msodbcsql18 mssql-tools sudo apt -y install unixodbc-dev echo 'export PATH="$PATH:/opt/mssql-tools18/bin"' >>~/.bash_profile echo 'export PATH="$PATH:/opt/mssql-tools18/bin"' >>~/.bashrc fi for v in $PHP_SUFFIXES; do sudo pecl -d php_suffix="$v" install sqlsrv sudo pecl -d php_suffix="$v" install pdo_sqlsrv # This does not remove the extensions; it just removes the metadata that says # the extensions are installed. sudo pecl uninstall -r sqlsrv sudo pecl uninstall -r pdo_sqlsrv done for v in $PHP_SUFFIXES; do sudo bash -c "printf \"; priority=20\nextension=sqlsrv.so\n\" >/etc/php/\"$v\"/mods-available/sqlsrv.ini " sudo bash -c "printf \"; priority=30\nextension=pdo_sqlsrv.so\n\" >/etc/php/\"$v\"/mods-available/pdo_sqlsrv.ini " sudo bash -c "chmod 666 /etc/php/"$v"/mods-available/*sqlsrv*.ini" done sudo phpenmod sqlsrv pdo_sqlsrv ddev start -> Aaaand BAM! Everything is working ? DDEV is simply great to use once you know how.
-
Weekly update – 26 April 2024 – ProFields Table v29
zoeck replied to ryan's topic in News & Announcements
I think he means the "ProcessWire Weekly #519" Newsletter ? This does not come from Ryan but from @teppo -
Did you use the "$cache->save()" method? So something like this: $cache->save("test", $consultants, 3600); // get single cache value $str = $cache->get('test');
-
There is a paid module for this, called Media Manager https://processwire.com/talk/forum/67-media-manager/ Unfortunately, the purchase page is currently in maintenance mode, but i think you can also contact @kongondo directly
-
Nice module! An "autoclose on save" function would still be good ?