Jump to content

Gideon So

Members
  • Posts

    468
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Gideon So

  1. Hi @Roych <?php $galeries = $pages->find("template=gallery-album"); ?> <?php foreach ($galeries as $galery) :?> <a href="<?=$galery->select_event_gallery->url; ?>">View Gallery</a> <?php endforeach;?> Gideon
  2. Hi @Lumi There is no ctime field in processwire. Please follow my example or Bernahrd's example and use created instead. Gideon
  3. Hi @jon9china Nothing special to switch domain. Just remember to edit your config.php file and change $config->httpHosts to your new domain. $config->httpHosts = array('yournewdomain.com'); Gideon
  4. Hi @Lumi You can use the sort function. https://processwire.com/api/ref/fieldtypes/sort/ Something like the following I believe would work. $your_repeaters = $page->your_repeater_field->sort('created'); foreach($your_repeaters as $your_repeater) { //Your stuff goes here } Gideon
  5. Hi @bbeer Maybe you need to check your MYSQL / MariaDB version. Gideon
  6. Hi @Robin S You are right. The output formatting is off if pages are pulled from another ProcessWire instance. I am not sure whether it is intentional or a bug. For me it is not intuitive to use. Gideon
  7. Hi @Jennifer Stock I am not sure I understand your situation. Do you have 2 ProcessWire sites which live in different folders. You want to access site B web data in site A? Do you set up ProcessWire multi-instances in site A? Gideon
  8. Hi @Michael PW Dev Welcome to the forum. The LanguageSupportFields Module is a core module that you don't need to download. Just click the install button will install the module and other required modules. Gideon
  9. Hi @wishbone Glad that you sorted it out. Keep happy coding with ProcessWire. Gideon
  10. Hi @wishbone $form[email] should be $form['email'] Gideon
  11. Hi @wishbone Try change the following line to "Reply-To:" . $form[email] . "\r\n" . Gideon
  12. Hi @Vincenzo If the folder permission without the execution bit then the affected user cannot enter the folder. Yes. You need to make the /var/www/html folder with the execution bit for user www-data. Gideon
  13. Hi @cosmicsafari If I remember correctly, The dropdown value MUST match the the field's settings in FormBuilder. Otherwise FormBuilder won't process the form. I think you have to process the form with one of the formbuilder hook. https://processwire.com/store/form-builder/hooks/ Gideon
  14. Hi @wbmnfktr Welcome to the TailwindCSS party. It is fun and the new always JIT and standalone CLI is awesome. Gideon
  15. Hi @Thromisios Welcome to the PorcessWire community. I came from non coder background, too. I first started learning ProcessWire basics by following this tutorial. Gideon
  16. Do you check if the form is submitted to avoid double submit of the form?? Gideon
  17. Look like it is related to MySQL 8.0.17
  18. Hi @Fuzzy No screenshot found and is there any error message you can find from the log? Gideon
  19. He needs a A 13-field form and a 13-field form is not a simple contact form IMO. Gideon
  20. Hi @neophron I think the findIDs function only returns the IDs of the found pages but not full wire page objects. https://processwire.com/api/ref/pages/find-i-ds/ You should try using: <?php foreach ($pages->findMany('id=1223|1224|1225, sort=-created')->children as $item) : ?> or <?php foreach ($pages->find('id=1223|1224|1225, sort=-created')->children as $item) : ?> Gideon
  21. Hi @wishbone I fully understand your feeling. I came from a non coder background, too. If you are willing to pay for a working contact form. I suggest you to buy Ryan's FormBuilder. Gideon
  22. Hi @wishbone Maybe you can take a look at this module. Gideon
  23. Hi @benbyf Read the following post to solve aiom error with php8. Gideon
  24. Hi @Spiria The backend looks amazing. Would you please share how you make it? Gideon
  25. This error also happens with PHP 8. Modify line 707 $_timestamp = ''; to $_timestamp = null; Solve the error. Gideon
×
×
  • Create New...