-
Posts
500 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Gideon So
-
New blog: Throttling AI bot traffic in ProcessWire
Gideon So replied to ryan's topic in News & Announcements
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 -
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
-
Allowed memory size exhausted after moving to XAMPP on MacOS
Gideon So replied to FlorianA's topic in General Support
Hi @FlorianA Just access your site. There should be some error messages on the screen. Gideon -
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
-
Allowed memory size exhausted after moving to XAMPP on MacOS
Gideon So replied to FlorianA's topic in General Support
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. -
-
Hi @GaryW I don't think it is possible to search all file contents with the ProcessWire selector function. Gideon
-
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
-
@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
-
Inputfieldtextarea: saved html table loses data attributes
Gideon So replied to Cybermano's topic in General Support
Hi @Cybermano I think you need to set the textarea field to allow data attributes. Which RTE you are using? CKEditor or TinyMce? Gideon -
This is unbelievable but true. Gideon
-
Warning, the database time differs from PHP time by...
Gideon So replied to DrewPH's topic in General Support
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 -
website kuenstlerischepraxis.at is not answering
Gideon So replied to kuenprax's topic in General Support
Hi @kuenprax Seems that the server is down. Maybe you should contact your hosting company to check. Gideon -
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
-
Hi @DrewPH There is no such Widget API. Gideon
-
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
-
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
-
@bernhard You are the best. ? Gideon
-
Hi @jeremie Then try this: <?php $items = $pages->find("template=artist")->reverse(); https://processwire.com/api/ref/wire-array/reverse/ Gideon
-
Hi @jeremie May be <?php $items = $pages->find("template=artist", "sort=-sort"); Gideon
-
page disappears in frontend when link changes (url not updated)
Gideon So replied to floko's topic in Getting Started
Hi @floko What option do you have toninstall a module? Gideon