Jump to content

Gideon So

Members
  • Posts

    468
  • Joined

  • Last visited

  • Days Won

    1

Gideon So last won the day on June 29 2022

Gideon So had the most liked content!

Profile Information

  • Gender
    Male

Recent Profile Visitors

4,581 profile views

Gideon So's Achievements

Sr. Member

Sr. Member (5/6)

270

Reputation

  1. Hi @Tyssen You can add a hidden field to the template and then update the field whenever the page is saved by using a saveReady hook. Then you can use this field in the showif setting. Gideon
  2. Hi @DV-JF Unfortunately, count is not a field. You cannot use your_reapeater.count in the showif setting. Gideon
  3. Me too. Very good description to Unpoly which is grestbfun to use. Gideon
  4. Hi @Paschalis It will be more helpful to get help if you can post your template code here. Gideon
  5. Hi @KG60 $config->debug $config->debug = true Can you add the above to the config.php file to see if there is any error show when you login? Gideon
  6. Hi @KG60 Go to site/assets/logs and check the error log to see if there is any useful information for you to investigate the problem. Gideon
  7. Hi @ayz Yes, Seems that the mysql server doesn't start. You need to check the mysqld error log to see if there is a clue for you to solve the problem. Maybe check if mysql has the read/write right to /var/run/mysqld ? Gideon
  8. Hi @ayz Just login to the Digital Ocean control panel and restart the droplet should fix the error. Gideon
  9. Hi @mcollean I wonder why you ask a question about installing Moodle in this forum. I don't think you will get the answer you want. Gideon
  10. Hi @JerryDi, Try the follow code: <table border=1> <thead> <tr> <th>Opponents</th> <th>Venue</th> <th>Points for</th> <th>Points against</th> <th>Result</th> </tr> </thead> <tbody> <?php $countymatch = $pages->find("template=county-match-result, year={$page->title} "); foreach($countymatch as $match): ?> <tr> <td><?php echo "<a href='$match->url'> {$match->title}</a>"; ?></td> <td> <?php if ($match->home_away->title == 'Home'){ //echo $match->home_match_venue->title("<a href='{url}'>{title}</a>"); // I don't really understand this line, so I comment it and see if you get more results } else{ echo $match->away_match_venue; }; ?> </td> <td><?php echo $match->cheshire_points; ?></td> <td><?php echo $match->opponent_points; ?></td> <td><?php echo $match->match_result->title; ?></td> </tr> <?php endforeach; ?> </tbody> </table> Gideon
  11. Hi @JerryDi Is the field "year" a page reference field? If so, how do you set up the field? Gideon
  12. Hi @François Lacruche, Just move the processwire-master out of the webroot folder of https://www.domain-name.com. Then move EVERYTHING inside the processwire-master folder to the webroot folder of https://www.domain-name.com. This should work. Gideon
  13. Thanks @ryan. Thanks everything you have done. Happy new year to you and this amazing community from afar. Gideon So
  14. @stefan1981 If it is possible, show us the content of home.php file. Gideon
  15. Hi @Krit65 I don't use LoginRegister module but if you want to translate a string in your template file. You can try: <?php echo __("Your String"); ?> And then find the file in the backend translate tool (setup --> Languages --> Your Language --> Find file to translate --> find your template file) to transfer the string to other language. Gideon
×
×
  • Create New...