Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by Rudy

  1. @arweb I had the same error recently. How to fix it: rename FieldtypeTextareas folder in the site/modules to .FieldtypeTextareas install the latest version of FieldtypeTextareas (8a is the latest) To prevent future error, simply update FieldtypeTextareas to the latest version prior to upgrading the core.
  2. @DrQuincy I think you're looking for this https://processwire.com/api/ref/wire-http/status-text/
  3. If I am not mistaken, you need to set async: true.
  4. @jds43 urlSegment will not capture URL query strings. If you want something like that, you might want to use $_SERVER['query_string'] output for your if condition.
  5. I think you want to convert your field value to name format (no spaces, replace with underscores or hyphens) https://processwire.com/api/ref/sanitizer/name/ Something like $sanitizer->name($cenik->text1);
  6. Someone from our community already set up a Discord server for ProcessWire. https://discord.gg/fREpGjMc
  7. This is brilliant! Thanks for making it available. I made a Manifest module for PW awhile ago and I thought that it would be related to this Inertia module since you are using Laravel Mix for your example. Here is the repo link: https://github.com/lesaff/processwire-manifest
  8. This is how I would do it. Example in Twig, but you can see the logic in it. <ul> {% for child in pages.get(1).children() %} <li> <a href="{{ child.url }}"> {{ child.title }} </a> {% if child.numChildren(true) %} <ul> {% for gchild in child.children('YOUR CUSTOM SELECTOR HERE') %} <li> <a href="{{ gchild.url }}"> {{ gchild.title }} </a> </li> {% endfor %} </ul> {% endif %} </li> {% endfor %} </ul>
  9. Hi all 👋 I made this searchable UIkit 3.x documentation site to share with everyone. The official doc is great but you can't search across the whole doc. Anyway, here is the URL: https://uikitdocs.netlify.app/ What's missing is the live examples. Perhaps some of you can contribute? Github repo link is on the website as well. Cheers
  10. Since you're working on a PW environment, you should probably use PW's WireArray and Paginated Array API.
  11. Hi Jay, If you are expecting a lot of data to process, perhaps you might want to paginate your result to prevent long execution. You might also want to increase your PHP max_execution_time to 300 or more (up to you).
  12. @fruid have you tried reaching out to UIkit's discord community? https://discordapp.com/invite/NEt4Pv7
  13. I am having a similar issue but not exactly as what @Robin S had. https://github.com/processwire/processwire-issues/issues/1369
  14. How do you folks set up your front-end? Same as your back-end or using completely separate web space? I am rethinking of how to structure my project using AppApi. Cheers Rudy
  15. I just tested on Safari 14.0.3 and it works fine for me. I am using PW 3.0.173 with AOS module if that helps.
  16. @psy You're almost there. The reason why it always starts with Thursday is because when PHP failed to initiate a date, it defaults to Jan 1, 1970, which falls on Thursday. Here is the working code $today = time(); $dayNames = []; for ($i = 0; $i <= 6; $i++) { $daySeconds = $i * 86400; $dayTS = $today - $daySeconds; $day = date('D', $dayTS); $dayNames[] = $day; } var_dump($dayNames); Output: array(7) { [0]=> string(3) "Tue" [1]=> string(3) "Mon" [2]=> string(3) "Sun" [3]=> string(3) "Sat" [4]=> string(3) "Fri" [5]=> string(3) "Thu" [6]=> string(3) "Wed" }
  17. @ryan, did you bump the latest `dev` version to `3.0.172` on Github? I noticed that the Upgrades module did not pick it up.
  18. @bernhard we use https://pageproofer.com to get feedback and bug reports from clients. It also has video recording option as well.
  19. 👍 for file/media manager and external file storage. Those are top two of our wish list. Thanks Ryan!
  20. @adrian is there a way to let the CSV export to show absolute path to any files/images? I noticed that the exported data only shows the filename itself without any context. Thx Rudy
  21. I am using FormBuilder 0.40 with Stripe field 6 and this error came up as well on 3.0.147.
  22. If you put your site behind Cloudflare, you have to exclude your backend URL (using Page rules) otherwise it will be cached and will disconnect you.
  23. @BillH Your issue is with MySQL connection. Exception: SQLSTATE[HY000] [2002] Connection refused Check your database user/credentials to make sure that you can connect.
  24. @MFox, you need to install PWImage ckeditor plugin, enable it and add it to your toolbar (see screenshot).
  • Create New...