Jump to content

Gideon So

Members
  • Posts

    508
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Gideon So

  1. @Juergen Installed to one of my clients site. He said it is very funny. Thanks for sharing. Gideon
  2. Hi @olafgleba If you are talking about the language when a visitor first visit the site. Take a look at the following. I have just changed the default language of my site. https://processwire.recipes/recipes/change-homepages-default-language/ Gideon
  3. Hi @Richard Jedlička What I think is the module extends FieldtypeFile and FieldtypeFile supports custom file. So I think fieldtypePdf would be able to add custom field to it. In fact there is section in field settings that allow me to add custom filed to it but no custom field render in the page edit screen. Gideon
  4. Hi @Richard Jedlička Does this module support custom field? Gideon
  5. I have a Tinymce textarea field reside in a repeater. I want to insert an image to the editor and I click the insert image button. It open a modal show images from the current repeater item page. Of course there is no images inside the page. I need to click the "change" link and then find the page I have the image, Is it possible to make the Tinymce insert image plugin to show repeater forPage? Gideon
  6. Hi @matjazp By the way, would you update the github repository? Gideon
  7. Hi @matjazp Thanks for quick response. I guess the same.😊 Gideon
  8. Hi @ I have just installed the forked version of this module. I get the below whenever I try to clear cache in the module setting page. Any hints? Fatal Error: Uncaught Error: Call to undefined method AllInOneMinify::getDirContents() in site/modules/AllInOneMinify/AllInOneMinify.module:1216 Fatal Error: Uncaught Error: Call to undefined method AllInOneMinify::getDirContents() in site/modules/AllInOneMinify/AllInOneMinify.module:1216 Thanks. Gideon
  9. 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
  10. 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
  11. Hi @FlorianA Just access your site. There should be some error messages on the screen. Gideon
  12. 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
  13. 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.
  14. Hi @tires Please go to modules > Core > Page List and check this box. Gideon
  15. Hi @bernhard This is one of the greatest quote I have ever quoted.😄
  16. Hi @GaryW I don't think it is possible to search all file contents with the ProcessWire selector function. Gideon
  17. 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
  18. Hi @joe_g Looks like include=hidden does the job? Gideon
  19. @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
  20. Hi @Cybermano I think you need to set the textarea field to allow data attributes. Which RTE you are using? CKEditor or TinyMce? Gideon
  21. This is unbelievable but true. Gideon
  22. 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
  23. 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
  24. Hi @kuenprax Seems that the server is down. Maybe you should contact your hosting company to check. Gideon
  25. 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
×
×
  • Create New...