Jump to content

Gideon So

Members
  • Posts

    354
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Recent Profile Visitors

3,418 profile views

Gideon So's Achievements

Sr. Member

Sr. Member (5/6)

165

Reputation

  1. Hi @PawelGIX Sorry. Wrong answer. Gideon
  2. @wbmnfktr, Tag the wrong guy 😆😆 Gideon
  3. Hi @mikeindee, You may try commenting out all the lines in section 8A of the .htaccess file. Gideon
  4. Hi @howsoonisnow90, I have updated the code. Please try the updated one. Gideon
  5. Hi @kongondo, Thanks for checking my code. Have just updated it. Gideon
  6. 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
  7. Hi @nozero, Seems that the variable $indicator is not declared before lline 70. May be it should be $child->indicator? Just a guess. Gideon
  8. 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
  9. 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
  10. 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
  11. Hi @li181 I think you can check Setup -> Logs -> Errors to have more info and then come back for further assist. Gideon
  12. Try put $page->children into the custom PHP code field. Gideon
  13. Maybe just $page->children in the custom selector field? Gideon
  14. 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
×
×
  • Create New...