Jump to content

Chris-PW

Members
  • Posts

    22
  • Joined

  • Last visited

Everything posted by Chris-PW

  1. For me, 11:00-11:45 might work. My kids get home from school early because of the start of the Easter break. That could blow up the conversation (-: Which tool do you want to use? During Corona times I often used Jitsi Meet because you don't need any registration or software. (Hope we all speak German?)
  2. I want to pursue this further and get involved. Unfortunately, I have so much to do both personally and professionally that I don't think I can do justice to you and your goal. But maybe I can join in, even just a little, if you want. Uikit is great and I have used it several times. But there are a few things I don't really like about the base. For example, the very light shade of gray that can also be found in the menu in your style. This is not barrier-free (is that how you write it in English?) nor is it user-friendly. Maybe it would be better to mark a hidden page in the menu differently. Maybe better in the PW admin page tree with a meaningful icon or background color. The UIKIT docs have the same problem. Only the active page in the menu has enough contrast. The color tone for (disabled, muted, etc.) in conjunction with the typography, which is then also used for the background, would have to be separated. Light gray as a background color yes, but not as a color for text elements. I think it should be more “form follows function”, especially in the admin area. But it doesn't hurt if it looks good too. With the “normal” PW Admin, I find it better that a few more colors are used than just one primary color. Especially for buttons “Edit”, for example, could be green and the rest dark gray. What would it look like if a customer had a very light pastel color as their primary color? Then it doesn't actually work or the admin would have to completely invert the color. This could possibly even happen automatically using color values. If the contrast of the primary color is not enough, dark mode is activated automatically. With a medium color as the primary color, it becomes difficult to make this decision again... There are still a few things that come to mind, but perhaps the above is something for a basic collection of ideas for an optimal admin theme. Maybe we can talk about it directly in German when we get the chance (Google Translate is also my friend here when I write). But now I have to keep working... Many greetings and thank you very much for everything you do here. I enjoy reading it and following what the „PW-DEV professionals“ are doing here.👍😀 Chris
  3. I have the same problems with these large German providers and my conclusion is that Strato and Ionos (1&1) are not ideal for this. This applies to both hosting offers and V-Server offers. Strato support doesn't take care of anything, at least for me, even if you pay extra for it. Maybe someone has had better experiences. My solution so far is to perform the update manually via SFTP. But that is also the recommendation that I read somewhere in the PW forum and in the documentation. https://processwire.com/docs/start/install/upgrade/ With Strato it is also important to use caching, otherwise there will constantly be errors regarding simultaneous database access. I only had this problem with Strato and have often complained about it there without success. But maybe someone still has a solution to make it easy to do it using the upgrade tool even with such providers with restrictions...
  4. Hello, I just tested it with the iPhone and the latest ios. For me, the switches work when reloading. (The problem may also be due to the missing certificate https and JS browser security. You also have mixed content http/https on the page, so there may be a delay. Just a guess... ) Greetings
  5. Hello, in ProcessWireUpgrade I only get the modules displayed but no longer the PW versions. I hope someone can help me. ProcessWire: 3.0.200 PHP: 7.4.32 ProcessWireUpgrade: 0.1.1 ProcessWireUpgradeCheck: 0.0.9 max_execution_time: 3600 (changeable) max_input_nesting_level: 64 max_input_time: 60 max_input_vars: 4000 memory_limit: 512M post_max_size: 128M upload_max_filesize: 128M
  6. Hi Juergen, I reinstalled the updated module. Unfortunately the problem still exists. Without changes to your theme example above, an internal server error will now occur. If I remove "\FrontendForms\..." I get the error message with the class at alarm... Greetings Christian
  7. Hello Jurgen, sorry for the late reply. Unfortunately the same error comes again. I'd love to help you, but unfortunately my PHP OOP knowledge isn't good enough for that. I looked again and found this in the PW forum. Maybe that can help a bit: And this: https://processwire.com/blog/posts/processwire-3.0-alpha-2-and-2.6.22-rc1/#compiled-template-files And this: It works for you and sp1key on Windows XAMP and not on Mac-Mamp and Linux-Server. I would tap on a spelling problem with paths. Maybe a sanitizer changes a bit too much on a path....? Many greetings, Christian
  8. Hello, unfortunately the same error comes up. ? But I think you are on the right path to the solution. (I downloaded your new version as a zip from GitHub and completely uninstalled the old one in PW first. Then unpacked the new one and renamed the folder according to your specifications. Then I reinstalled and activated it in PW…) I looked for it on the web, maybe this will help: https://dev.to/dechamp/php---how-to-fix-class--not-found-error-1gp9 Upper and lower case seems to be a problem with the classes. Probably also on the Mac with file names and paths... Maybe you have another idea... Best regards Christian
  9. Hello Jurgen, Thank you for testing. But I get the exact same errors as before. It doesn't matter if I take the code template from you or just insert the relevant part. Then I tried PHP versions 7.2.34 - 8.0.8. From version 8 the error message is longer. See pictures. It runs under Mamp Pro on a Mac. But haven't had any problems so far. I think it has something to do with how you access paths with your module. (#1 on error message) Did you also use the latest PW Dev 3.0.199 version? Have you possibly made another setting that differs from the normal PW installation? Possibly in the config? Regards, Christian
  10. Thanks, I think a setup and test with the beginner theme and your module will help me and also sp1ke. Until then, greetings Christian
  11. Hello @Juergen, Thank you for the quick reply and correction.? The installation errors are now gone. Unfortunately, the other problem remained. I've tried all variants to get it working to no avail. I use a quick clean PW install with the beginner theme. Standard profile (beginner version) The Processwire namespace is almost everywhere here, maybe that's why. Unfortunately, I have no practical experience with namespaces and PHP OOP knowledge is unfortunately only somewhat theoretical. Can you please test your module with this default base (Beginner Edition) under PW version: 3.0.199? At best, integrate exactly according to your instructions. I copied the two lines into the existing _init.php. Then I created a page with a template and as a template 1:1 yours Code examples integrated and tested one after the other. The same errors keep coming. Just an idea: Maybe it's also a problem with the names, because you use frontendforms in different CamelCase variants...? Many greetings, Christian
  12. Hello @Juergen, First of all thanks for the module. Unfortunately, I get 6 errors displayed during the installation. PHP Warning: ProcessWire\FrontendForms::ProcessWire\{closure}(): Argument #2 ($key) must be passed by reference, value given in .../pwclean/site/modules/FrontendForms/FrontendForms.module:409 My system: MAMP, PHP 8.0.8 PW-Version: 3.0.199 FrontendForms-Version: 2.0.2 Since there are only warnings, I tried to integrate it anyway. Unfortunately without success, because I get error messages here too. Error (in frontend): Class "FrontendForms\Alert" Not found Form.php 121 File: .../pwclean/site/modules/FrontendForms/Formelements/Form.php:121 This is how your example is integrated into the template (File: _init and the test Page Template form.php): //_init.PHP <?php namespace ProcessWire; /** * Initialization file for template files * * This file is automatically included as a result of $config->prependTemplateFile * option specified in your /site/config.php. * * You can initialize anything you want to here. In the case of this beginner profile, * we are using it just to include another file with shared functions. * */ include_once("./_func.php"); // include our shared functions $frontendforms = new FrontendForms(); $frontendforms->setLang('de'); // Ende init.php //***************************************** // (The test template): // form.php <?php include('./_uk-head.php'); // include header markup ?> <div class="uk-section "> <div class="uk-container uk-container-large"> <?php $form = new \FrontendForms\Form('contactform'); $gender = new \FrontendForms\Select('gender'); $gender->setLabel('Gender'); $gender->addOption('Mister', 'Mister'); $gender->addOption('Miss', 'Miss'); $form->add($gender); $surname = new \FrontendForms\InputText('surname'); $surname->setLabel('Surname'); $surname->setRule('required'); $form->add($surname); $name = new \FrontendForms\InputText('lastname'); $name->setLabel('Last Name'); $name->setRule('required'); $form->add($name); $email = new \FrontendForms\InputText('email'); $email->setLabel('E-Mail'); $email->setRule('required'); $email->setRule('email'); $form->add($email); $subject = new \FrontendForms\InputText('subject'); $subject->setLabel('Subject'); $subject->setRule('required'); $form->add($subject); $message = new \FrontendForms\Textarea('message'); $message->setLabel('Message'); $message->setRule('required'); $form->add($message); $privacy = new \FrontendForms\InputCheckbox('privacy'); $privacy->setLabel('I accept the privacy policy'); $privacy->setRule('required')->setCustomMessage('You have to accept our privacy policy'); $form->add($privacy); $button = new \FrontendForms\Button('submit'); $button->setAttribute('value', 'Send'); $form->add($button); if($form->isValid()){ print_r($form->getValues()); // do what you want } // render the form echo $form->render(); ?> </div> </div> <?php include('./_uk-foot.php'); // include footer markup ?> //Ende form.php Somehow there seems to be a problem with the "namespace" or something similar. Maybe I misunderstood something... This is the integrated code from your example that leads to the errors. Since your module reads as a really nice solution, I'd love to use it. Can you please help. Thanks. Christian
  13. Hello, I'm not sure if that's what you mean. But you can specify a download of files directly as an attribute in the HTML. Use the a download attribute: <a href="/OldName.pdf" download="NewName"> Download PDF</a> (The value "Filename" is optional.)
  14. Hello, that reads well and I'm very curious. Will it be possible to combine a CKEditor text field with an image field? (I come from Typo3 and I've always found that very practical there. It was called text with image)
×
×
  • Create New...