Jump to content

Andy

Members
  • Posts

    135
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Andy

  1. As far as I understood from the documentation, the module is based on the well-known library https://github.com/moneyphp/money. This library is used by a lot of people who have to calculate finances. Yes, this library stores finance values in integer variables. That is, in cents. You are right. Why, are there other solutions? Today @bernhard made it easy for us to integrate this library into ProcessWire. Many thanks to him. What are modules written for? To speed up development. This module will speed up development? Yes, it will. That's what we need. I once spent a lot of time and effort to integrate PDF formatting into a project. And then I took the RockPDF module and did in a couple of hours what had taken me a month before. Thanks to @bernhard for his modules, which are beautiful.
  2. @ryan I wish you a wonderful trip. Personally, traveling motivates me and keeps me from burnout. Thank you for your work. Hope to see a sequel. Also a huge thanks to @Robin S for his modules. I use some of them in my projects. I would also like to thank other members of the ProcessWire community who post their modules, developments and tips. Without you I couldn't have done much. Hugs to all of you!
  3. Hi @wbmnfktr I think generic layouts should cover more functionality and showcase features. Skyscrapers - A perfect illustration of map integration. Add to this the skyscrapers of Hong Kong (554 skyscrapers) and add Chinese language in the frontend. I think the multi-language functionality in PW is the best of any CMS. I had a client who wanted a website to have the following languages: English, Greek, Russian, Chinese. The only problem was finding a font that has all the lettering. I love ProcessWire's multilingual tools. The Shop - is a simple store layout for simple products. No taxes or shipping, just an order cart and that's it. It's a seed on which a big tree can grow later. Admin dashboard in backend - This functionality is available in many CMSs. A typical layout will show beginners how easy it is to customize the backend to suit their needs. Making an appointment - is a booking system for anything. This is a pretty common task that happens when you need to book a hotel, buy airline tickets from make an appointment with a dentist. This kind of layout will be useful to many people. I proceed from the premise that typical PW installations should show the functionality and flexibility of this system. Of course, ProcessWire's capabilities are much broader and constantly evolving. I have tried to point out only the key needs. What else can be illustrated? For example, flexible customization of access levels and user roles.
  4. Thanks @Juergen This site is on the list of this forum and it states what I use. your form. If you are interested, your form is here: https://surfdacha.com/en/booking/ Website published here
  5. Hi @Juergen Thank you for your work. I have implemented your form in a working project. And so far it is working without any problems. Tests show that your project is sufficiently robust. My advice for the future, it's just an interesting opportunity.
  6. Hi @Juergen There appears to be a useful captcha in modules. Do you think it could be attached to your forms?
  7. DaCha is a water sports center in Egypt and a hotel. https://surfdacha.com/en/ Multi-language. The backend implements the management of customer reservations and bookings. Naturally, the website is made on ProcessWire. UiKit 3 layout Modules: LoginRegisterPro, Cookie Management Banner, Map Marker, FrontendForms, Markup Sitemap XML, Video embed for YouTube (and Vimeo), Tracy Debugger. The backend implements the management of customer reservations and bookings.
  8. Hi @ryan console log shows js?key=XXXXXXXXXXXXXXX:175 As of February 21st, 2024, google.maps.Marker is deprecated. Please use google.maps.marker.AdvancedMarkerElement instead. At this time, google.maps.Marker is not scheduled to be discontinued, but google.maps.marker.AdvancedMarkerElement is recommended over google.maps.Marker. While google.maps.Marker will continue to receive bug fixes for any major regressions, existing bugs in google.maps.Marker will not be addressed. At least 12 months notice will be given before support is discontinued. Please see https://developers.google.com/maps/deprecations for additional details and https://developers.google.com/maps/documentation/javascript/advanced-markers/migration for the migration guide.
  9. [SOLVED] The source of the error has been found. There were two closing </body> tags in the HTML layout. This caused the JS script to be called twice.
  10. Thank You @Juergen I'm too inattentive. Was looking for the answer in the documentation and didn't look at the module settings. Thanks. Now I have another problem. After installing the new version of Frontendforms 2.1.77 a captcha error comes up when submitting a form. That's what happens after a call And I have captcha disabled. $form->disableCaptcha();
  11. Hello @Juergen I continue to explore your excellent module. And I have a few more questions. Here is the error from the console. In continuation to this, I would like to know how I can disable the addition of frontendforms.css and frontendforms.js on all pages of the site? I'm only willing to add these calls myself to the page where I have the form in use. I can see that you are working hard on this project. Thank you very much.
  12. Hello @Juergen Thank you for your quick and complete response. Regarding the captchaimage.php file. I think we should add a couple of lines about this in the Quick Start documentation section. "During installation, you will need to write the captchaimage.php file to the root folder. You can change permissions on this folder for the time of module installation. Or write the captchaimage.php file to the root folder and allow the system to update it." Another way is to change the functionality of the module installer. Check if it is possible to write captchaimage.php to the root folder. And if it is not possible, send a message to the user: "No access to root folder. Move the file /site/modules/FrontendForms/Formelements/Captcha/captchaimage.php to the root folder yourself." Yours Andy
  13. Hello @Juergen Thanks for the quick response. Yes, this feature now is working. But I immediately have a question - how to remove some IP from this list? I am testing your module now and see what a great job you have done. I will try to help you with debugging. Another problem occurred when updating your module. Warning: copy(/var/www/htdocs/minotaur/htdocs/captchaimage.php): Failed to open stream: Permission denied in /var/www/htdocs/minotaur/htdocs/wire/core/WireFileTools.php on line 282 I have the root folder locked from writing. That's not safe. Are you sure that captchaimage.php should be in the root folder? Another small find. In example /site/modules/FrontendForms/Examples/contactform.php $accept = new \FrontendForms\InputCheckbox('accept'); $accept->setLabel('I accept the data privacy'); $accept->setRule('required')->setCustomMessage('You have to accept the data privacy'); $accept->setRule('accepted'); $form->add($accept); $accept->setRule('accepted'); Incorrect construction. You must use a different function for checked. $accept->setChecked(); Best regards. Yours Andy
  14. Hi @Juergen I try test your best module with PHP 8.3.18 And I found some mistake. It happened when I wanted to see the details of a blocked address. System env
  15. I see a very handy module. When I have a lot of different open projects, it can be hard to figure out what you have open at the moment. I wanted to do something like this myself. But my hands did not come to the matter. Thank you very much @BitPoet However, I would like to mention one more important parameter. I would like the tab icon to change its color as well. This will be visible by the color of the tab in the browser on which development is taking place. I also have different icons for frontend and backend. This is convenient for clients in a running project. Such a method can be easily implemented in ready.php $page->addHookAfter('render', function($event) { $template = $event->object->template; if ($template == 'admin') { $event->return = str_replace("<title>", "<link rel='icon' type='image/png' href='/img/backend_favicon.png'><title>", $event->return); } });
  16. @bernhard I think it's a great job. Thank you so much for showing how it works from the inside.
  17. Hi @Stefanowitsch You have done a great project. I too have found the modules from @bernhard to be very speedy. I am looking forward to your new projects.
  18. Hi @rst For some reason in PHP8+, the coordinate values default to the empty string. You can fix the module code and hard-code their values to float. Until @ryan fixes it. if( ((string) round($lat, $precision)) != ((string) round((float)$this->defaultLat, $precision)) || ((string) round($lng, $precision)) != ((string) round((float)$this->defaultLng, $precision))) { I've requested changes to the https://github.com/ryancramerdesign/FieldtypeMapMarker
  19. Oh, yes, it is. I'll have to be more careful. Thank you.
  20. Hi @bernhard I can't connect to the website. Blank page only.
  21. Hello @Juergen Thank You. I am amazed at the speed with which you implement what you have in mind.
  22. @Juergen I wish I had gotten to this part of the documentation. The examples always help me. Thanks. There are some good choices here. By the way, the documentation is very well written.
  23. Hi @Juergen Thanks for this module. I can see that a great and good job has been sold. The main problem why I still use custom forms is the date picker. The first problem is to set the range of acceptable times to specify. The second is to inform the user of a date error if the range is still not respected. You do realize that both POST and GET are not perfect. The other case is when the user needs to specify a range of a start date and an end date. There are more error options here. There is also a variant when dates are linked. For example, after specifying the first date, the second date can be as much as two weeks later. Usually such collisions are solved with jQuery. I looked at your module documentation and didn't see any examples with dates. Maybe you have a similar functionality, but I would like to see an example.
×
×
  • Create New...