Jump to content

Gideon So

Members
  • Posts

    485
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Gideon So

  1. Hi, I think this is a bug in the Page Reference field which was introduced after core version 3.0.106. I tested it with both multi-language and single language setting. Both of them give the same error when trying to create a page with non ASCII page name in the page edit page. Should I report this to the github bug issue? Gideon
  2. I create a page reference field that allows user to create new page in the page edit page. I got this error: Error adding page "一二三" - SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (ascii_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=' think it worked fine before I upgraded to 3.0.115. Any idea? Gideon
  3. Hi all, @ryan fixed that last night. Gideon
  4. Seems the version is not bumped to 3.0.116.
  5. Hi, try this: <?php if ($single->fajli->url): ?> <span <span class='big'>>Velikost: <?= __('Size:'); ?></span><br> <span>{$single->fajli->filesizeStr}</span> <?php else: ?> <span class='big'><?= __('link:'); ?></span> <?php endif; ?>
  6. What is the function name. Is there any chance your function name conflicts with one of the Processwire function or one of the module's function? Gideon
  7. Hi, Got it solved myself. I use $p = $pages->find("template=repeater_yourRepeaterField, limit=10") rather than $p = $page->yourRepeaterField->find("limit=10"). Gideon
  8. Hi @dragan, Thanks for your reply. I think the caption below the image tells us some useful info. 1. it is added automatically if criteria is met. 2. It is about the pagination in the backend but I need do pagination in the frontend. Gideon
  9. Hi, Is it possible to do pagination for repeater field? Gideon
  10. Tried to download the Google authenticator but comments show that it is not very popular among users. One of the most common complains is that you will lose all your keys when you switch to a new phone and then you cannot login all the 2FA accounts. Gideon
  11. Thanks for the update on this amazing project. Looks more and more promising. Gideon
  12. No. They can see but not edit the page that they are not allow to edit. In other words, users are limited to edited the branch that assign to them. tpr is right. It is configurable. Gideon
  13. Hi @henri, Add your new server ip address to your doamin DNS setting. I can't tell how to do it because I don't know where you host your site. If you want to have more advice, please provide more info to us. Gideon
  14. WOW. Amazing. Impressive. This community is incredibly talented. Gideon
  15. Oh. No. Let me try and see. But I think the template file is compiled if I don't add Processwire namespace to it? Gideon
  16. No one? If this is a bus then I will open an issue in github. If not allow to use __( ) function then how can I do the translation?? Gideon
  17. I have this error when I put __("some string") to a repeater matrix template file. Error: Call to undefined function __() (line 17 of /path/to/site/site/templates/fields/contents/staff.php) Is it not possible to use __( ) function in repeater matrix field?? Gideon
  18. Maybe you need to check if the .htaccess file there in the server folder? Gideon
  19. Hi @theo, WOW. Surely will give it a try. Nice job. By the way, why not update the first post so that others can find the package easier?? Gideon
  20. Hi @theo, Nice work. Glad to see some progress. Gideon
  21. Hi, Maybe a dumb question. Shouldn't $file->url works like $image->url that both of them return path with filename?? Gideoon
×
×
  • Create New...