Jump to content

Gideon So

Members
  • Posts

    516
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Gideon So

  1. Hi @joe_g Looks like include=hidden does the job? Gideon
  2. @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
  3. Hi @Cybermano I think you need to set the textarea field to allow data attributes. Which RTE you are using? CKEditor or TinyMce? Gideon
  4. This is unbelievable but true. Gideon
  5. 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
  6. 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
  7. Hi @kuenprax Seems that the server is down. Maybe you should contact your hosting company to check. Gideon
  8. 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
  9. Hi @MarcC A very wild guess with only not much info from you. Do you check the html syntax? Gideon
  10. Hi @DrewPH There is no such Widget API. Gideon
  11. 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
  12. 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
  13. @bernhard You are the best. ? Gideon
  14. Hi @jeremie Then try this: <?php $items = $pages->find("template=artist")->reverse(); https://processwire.com/api/ref/wire-array/reverse/ Gideon
  15. Hi @jeremie May be <?php $items = $pages->find("template=artist", "sort=-sort"); Gideon
  16. Hi @floko What option do you have toninstall a module? Gideon
  17. @floko May be you can try this module https://processwire.com/modules/process-file-manager/ https://processwire.com/modules/process-file-manager/ Gideon
  18. This is super true. Gideon
  19. 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
  20. Long time Linux user here. Over 20 years since Fedora Core 1. I am using fedora 40 now. Very happy.
  21. 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
  22. 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
  23. 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
  24. Hi @DV-JF Unfortunately, count is not a field. You cannot use your_reapeater.count in the showif setting. Gideon
  25. Me too. Very good description to Unpoly which is grestbfun to use. Gideon
×
×
  • Create New...