Jump to content

Gideon So

Members
  • Posts

    513
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Gideon So

  1. This is unbelievable but true. Gideon
  2. 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
  3. 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
  4. Hi @kuenprax Seems that the server is down. Maybe you should contact your hosting company to check. Gideon
  5. 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
  6. Hi @MarcC A very wild guess with only not much info from you. Do you check the html syntax? Gideon
  7. Hi @DrewPH There is no such Widget API. Gideon
  8. 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
  9. 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
  10. @bernhard You are the best. ? Gideon
  11. Hi @jeremie Then try this: <?php $items = $pages->find("template=artist")->reverse(); https://processwire.com/api/ref/wire-array/reverse/ Gideon
  12. Hi @jeremie May be <?php $items = $pages->find("template=artist", "sort=-sort"); Gideon
  13. Hi @floko What option do you have toninstall a module? Gideon
  14. @floko May be you can try this module https://processwire.com/modules/process-file-manager/ https://processwire.com/modules/process-file-manager/ Gideon
  15. This is super true. Gideon
  16. Hi @Ade Welcome to the Processwire world. I started with the following tutorial. It help me a lot and I was no PHP developer at all at that time Gideon
  17. Long time Linux user here. Over 20 years since Fedora Core 1. I am using fedora 40 now. Very happy.
  18. Hi @Michael Lenaghan There is no "Mark as solution" button here as far as I know. You have to edit the post title and add "Solved" or whatever you think appropriate. Gideon
  19. Hi @biber I don't think the sort() function is available to pageimages because pageimages is not WireArray. The result of the below line returns nothing. $images = $page->images->sort("iname_".$order, SORT_NATURAL |SORT_FLAG_CASE); Then foreach($images as $image) Give error because the variable $images is empty. Gideon
  20. Hi @Tyssen You can add a hidden field to the template and then update the field whenever the page is saved by using a saveReady hook. Then you can use this field in the showif setting. Gideon
  21. Hi @DV-JF Unfortunately, count is not a field. You cannot use your_reapeater.count in the showif setting. Gideon
  22. Me too. Very good description to Unpoly which is grestbfun to use. Gideon
  23. Hi @Paschalis It will be more helpful to get help if you can post your template code here. Gideon
  24. Hi @KG60 $config->debug $config->debug = true Can you add the above to the config.php file to see if there is any error show when you login? Gideon
  25. Hi @KG60 Go to site/assets/logs and check the error log to see if there is any useful information for you to investigate the problem. Gideon
×
×
  • Create New...