Jump to content

Gideon So

Members
  • Posts

    516
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Gideon So

  1. 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
  2. Hi @joe_g Repeaters are actually pages resides under the admin page which is not accessible to roles other than superuser. Gideon
  3. 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
  4. 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
  5. Hi @bubu2110 Try the following code. <img src="<?= $pages->get("/globale-einstellungen/")->arch->first()->url ?>" class="arch" /> Gideon
  6. @Roych , Use hanna code and hanna code dialog in a ckeditor field may fits your need. Gideon
  7. Hi @fruid Try to validate your page with https://validator.w3.org/. Gideon
  8. Hi @PawelGIX Sorry. Wrong answer. Gideon
  9. @wbmnfktr, Tag the wrong guy ?? Gideon
  10. Hi @mikeindee, You may try commenting out all the lines in section 8A of the .htaccess file. Gideon
  11. Hi @howsoonisnow90, I have updated the code. Please try the updated one. Gideon
  12. Hi @kongondo, Thanks for checking my code. Have just updated it. Gideon
  13. 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
  14. Hi @nozero, Seems that the variable $indicator is not declared before lline 70. May be it should be $child->indicator? Just a guess. Gideon
  15. Hi @DrQuincy The answer is simply a NO. Gideon
  16. Hi @nozero I believe the only file you need to modify is config.php. You need to modify the following: 1. $config->httpHosts I wonder if your hosting company allow remote access to the DB server. Gideon
  17. Hi, The module works well so far but I have just found that it is not working when it is place in the home template. I get the following error message in the browser console. Uncaught TypeError: ProcessWire.config.InputfieldCKEditor is undefined I tried to place the field to other template and it works normally. Any hints?? Gideon
  18. Hi @li181 Sorry for my late reply. Seems that your code in the template tries to prepend something that is not a page object to a page array. Would you mind post the code in your template? Gideon
  19. Hi @li181 I think you can check Setup -> Logs -> Errors to have more info and then come back for further assist. Gideon
  20. Try put $page->children into the custom PHP code field. Gideon
  21. Maybe just $page->children in the custom selector field? Gideon
  22. Yes. It is OK to add any fields to the user template. I have built a project with this method and see no draw backs so far. Gideon
  23. Hi @BillH Thanks for you kind hint. It was the file permission of the assets and modules folder causes the error. It is fixed now. Gideon
  24. I migrated a site to a hosting company which provides cPanel to manage the domain. I have some errors like the following: 2021-07-09 05:09:32.453548 [ERROR] [5674] [HTAccess] Failed to open [/home/misfmorg/public_html/site/.htaccess]: Permission denied 2021-07-09 05:09:28.141643 [ERROR] [5674] [HTAccess] Failed to open [/home/misfmorg/public_html/site/assets/files/1058/.htaccess]: Permission denied 2021-07-09 05:09:27.067796 [ERROR] [5674] [HTAccess] Failed to open [/home/misfmorg/public_html/site/assets/files/1093/.htaccess]: Permission denied 2021-07-09 05:09:26.775691 [ERROR] [5674] [HTAccess] Failed to open [/home/misfmorg/public_html/site/assets/files/1091/.htaccess]: Permission denied 2021-07-09 05:09:26.672877 [ERROR] [5674] [HTAccess] Failed to open [/home/misfmorg/public_html/site/assets/files/1099/.htaccess]: Permission denied 2021-07-09 05:09:26.471388 [ERROR] [5674] [HTAccess] Failed to open [/home/misfmorg/public_html/site/assets/files/1092/.htaccess]: Permission denied 2021-07-09 05:09:26.086949 [ERROR] [5674] [HTAccess] Failed to open [/home/misfmorg/public_html/site/assets/files/1053/.htaccess]: Permission denied I checked the permission if the .htaccess file is correct and I wonder why the web server keep searching .htaccess file in every folder in the site assets folder. Any hint is welcome. Gideon
×
×
  • Create New...