Jump to content

Gideon So

Members
  • Content Count

    325
  • Joined

  • Last visited

Community Reputation

155 Excellent

About Gideon So

  • Rank
    Sr. Member

Profile Information

  • Gender
    Male

Recent Profile Visitors

3,052 profile views
  1. Hi @tcnet, New version works fine. Thanks. Gideon
  2. Hi, I got this error too. PHP 7.1 MariaDB 10 ProcessWire 3.0.149 Gideon
  3. Hi, Just installed this amazing module. All works fine but I am not able to embed FB videos. I get this error on the page: Video Unavailable This video may no longer exist, or you don't have permission to view it. Is there a solution for this? Thanks. Gideon
  4. @cb2004, As usual, can you post us some code then we can try to give some suggestion. Gideon
  5. Glad that you sorted it out yourself and I learn a lesson today. That is good. Gideon
  6. Hi @spercy16, First of all, Please be kind to someone who just want to help you out even his answer is not that you want or need. Generally speaking the ProcessWire community is very kind and willing to help. I am sure you will have your help if you are kind and patient enough. For the code, @ottogal is right. You call the listChildrenTree function inside itself. This is a fatal error and your code will never work until you fix it. You cannot use $page here. $page is the reserved variable that represents the current page object. You may use $child instead. foreach ($children as $page) { Like I said above, don't call the same function within itself. if ($page->numChildren) listChildrenTree($page->children); The complete code: echo "<ul class='w-full text-white lg:block lg:float-left'>"; foreach ($children as $child) { echo "<li class='relative w-full lg:w-auto'> <a href='{$child->url}'> <div onclick='showSub()' class='block pt-2 pb-3 pl-6 lg:pr-6 button'> {$child->title} </div> </a> "; if ($child->numChildren) { echo "<ul>"; foreach ($child->children as $grandchild) { echo "<li class='relative w-full lg:w-auto'> <a href='{$grandchild->url}'> <div onclick='showSub()' class='block pt-2 pb-3 pl-6 lg:pr-6 button'> {$grandchild->title} </div> </a> "; echo "</li>"; } echo "</ul>"; echo "</li>"; } echo "</ul>"; Hope this helps or someone can improve the answer. Gideon
  7. Hi @antpre, I think the way this module store data does not support a multi language site. Gideon
  8. @aComAdi Add $config->pageNumUrlPrefix = Seite; to your config.php. Gideon
  9. dbHost is the mysql server. Mostly is localhost. dbPass is your DB password that your mysql server host provide to you. dbName is the DB name that your host provide to you. dbUser is the username thst can use the database server. It should be provided by your host. httpHosts is the domain of your site like www.yourdomain.com Gideon
  10. I run many sites in sub-directory in my development server. No problem at all.
  11. I would say you can do anything with ProcessWire. You need to have proper knowledge and skills but the guys here really helpful that makes life much easier. Gideon
  12. Hi @fruid, What is your image field settings? If you don't set the field limit to single image, you need to do like $entry->logo->first()->url. Gideo
  13. Please show us this line of code. Then we can give you some help. Gideon
  14. Hi @fruid, Welcome to the forum. ProcesszWire doesn't write anything into your template file. Please go through the tutorisls first and come back for help later. https://processwire.com/docs/start/templates/ Gideon
×
×
  • Create New...