Jump to content

Gideon So

Members
  • Posts

    500
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Gideon So

  1. 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
  2. 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
  3. Hi @wishbone Maybe you can take a look at this module. Gideon
  4. Hi @benbyf Read the following post to solve aiom error with php8. Gideon
  5. Hi @Spiria The backend looks amazing. Would you please share how you make it? Gideon
  6. This error also happens with PHP 8. Modify line 707 $_timestamp = ''; to $_timestamp = null; Solve the error. Gideon
  7. Hi @Angelino Yiu need to install language support core module first. Then install multilanguage text field, multilanguage textarea field and multilanguage page name. Then you can add new language to your site at setup -> Language Gideon
  8. @adrian Thanks. I will check it out later. Gideon
  9. Hi @esspea Maybe you can post the css link html code here and tell us some more about your development environment. Then we can help. Gideon
  10. Hi @Stick Click on your name at the top right corner and then click "Profile" in the drop down menu. Then click click on the profile photo besides post counts. Gideon
  11. Hi @joe_g Repeaters are actually pages resides under the admin page which is not accessible to roles other than superuser. Gideon
  12. Hi @joe_g Try add check_access=0 to your selector. https://cheatsheet.processwire.com/selectors/built-in-page-selector-properties/check_access-0/ Gideon
  13. Hi @bubu2110, What fieldtype is arch?? Is it a image field or some other field type? It looks like a image field to me as you echo arch->url. If it is indeed a image field type, you could use the code I provided to you to simplify your code and see if the error still exists. Gideon
  14. Hi @bubu2110 Try the following code. <img src="<?= $pages->get("/globale-einstellungen/")->arch->first()->url ?>" class="arch" /> Gideon
  15. @Roych , Use hanna code and hanna code dialog in a ckeditor field may fits your need. Gideon
  16. Hi @fruid Try to validate your page with https://validator.w3.org/. Gideon
  17. Hi @PawelGIX Sorry. Wrong answer. Gideon
  18. @wbmnfktr, Tag the wrong guy ?? Gideon
  19. Hi @mikeindee, You may try commenting out all the lines in section 8A of the .htaccess file. Gideon
  20. Hi @howsoonisnow90, I have updated the code. Please try the updated one. Gideon
  21. Hi @kongondo, Thanks for checking my code. Have just updated it. Gideon
  22. Hi @howsoonisnow90 <?php $root = $pages->get(1); $children = $root->children; echo "<ul>"; foreach($children as $child) { if($child->id == 0108) { echo "<li>$child->title"; echo "<ul>"; foreach($child->children as $grandchild) { echo "<li>$grandchild->title</li>"; echo "</ul>"; echo "</li>"; } else { echo "<li>$child->title</li>"; } } } echo "</ul>"; Hope this helps. Gideon
  23. Hi @nozero, Seems that the variable $indicator is not declared before lline 70. May be it should be $child->indicator? Just a guess. Gideon
  24. Hi @DrQuincy The answer is simply a NO. Gideon
×
×
  • Create New...