Jump to content

Gideon So

Members
  • Posts

    500
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Gideon So

  1. Hi @gebeer While I understand your concern about blocking AI bots but what I get from Ryan's post is that he doesn't completely cut off AI bots. It is because they come too often. He just want to limit their visit rate. I think it is ok because I don't think the document part changes every few seconds. Gideon
  2. Hi, Normally the multi-language url of ProcessWire is domain.tld/{language}/page but I have a special requirement from my client. They want the url would be like domain.tld/page1/{language}/page2. Is there any way I can achieve this? Any help is welcome/ Gideon
  3. Hi @FlorianA Just access your site. There should be some error messages on the screen. Gideon
  4. Hi @Tiberium Just a guess. Did you check the permission of the folder to see if the web server has the right to create folders / files within the logs folder? Gideon
  5. Hi @FlorianA Looks like there is some endless loop issue in your php that consume all the memory you allocate to PHP. The first thing I would do is enable PorcessWire debug mode. You can edit your site config.php to enable it by adding this line $config->debug = true You will have more info about what is going wrong.
  6. Hi @tires Please go to modules > Core > Page List and check this box. Gideon
  7. Hi @bernhard This is one of the greatest quote I have ever quoted.😄
  8. Hi @GaryW I don't think it is possible to search all file contents with the ProcessWire selector function. Gideon
  9. Hi @kuba2 You should update the ProcessWire core. The PHP function get_magic_quotes_gpc() was deprecated in PHP 7.4 and removed in PHP 8. The latest core does not use it anymore. Gideon
  10. Hi @joe_g Looks like include=hidden does the job? Gideon
  11. @Bia If you share more how you build your slider, such as your template code, would be helpful for us to give you some real helpful hints. Gideon
  12. Hi @Cybermano I think you need to set the textarea field to allow data attributes. Which RTE you are using? CKEditor or TinyMce? Gideon
  13. This is unbelievable but true. Gideon
  14. Hi @DrewPH Put the following line into your config.php $config->dbInitCommand = "SET NAMES '{charset}', time_zone = '-08:00' "; Adjust the timezone according to your need. Gideon
  15. Hi @lpa 1. Enable "Allow new pages to be created from field?" in the input tab of the field. 2. Specify the parent and template of the future newly create pages 3. Done. Gideon
  16. Hi @kuenprax Seems that the server is down. Maybe you should contact your hosting company to check. Gideon
  17. Hi @Edward Ver Welcome to the forum and the world of ProcessWire. Please try the following code. Please note the comments to see if you get the idea. <?php $showcase = $pages->find("template=work_details") ?> <?php foreach($showcase as $showcases): ?> <div> <?php foreach($showcases->work_hero_repeater as $whr): ?> // You need to loop therough the repeater because repeater is an arrray. <p class="pb-2 text-left"><?= $whr->work_hero_subheading ?></p> // Then call the field in the repeater item as you need" <?php endforeach; ?> </div> <?php endforeach; ?> Gideon
  18. Hi @MarcC A very wild guess with only not much info from you. Do you check the html syntax? Gideon
  19. Hi @DrewPH There is no such Widget API. Gideon
  20. Hi @Rob(AU) Maybe you can take a look at the api doc about $database https://processwire.com/api/ref/wire-database-p-d-o/ Gideon
  21. Hi @kuba2 I am running a lot of processwire sites with PHP 8.3 and have no problem at all. Do you see any error message? It helps if you provide us the error message if any. Gideon
  22. @bernhard You are the best. ? Gideon
  23. Hi @jeremie Then try this: <?php $items = $pages->find("template=artist")->reverse(); https://processwire.com/api/ref/wire-array/reverse/ Gideon
  24. Hi @jeremie May be <?php $items = $pages->find("template=artist", "sort=-sort"); Gideon
  25. Hi @floko What option do you have toninstall a module? Gideon
×
×
  • Create New...