Jump to content

Gideon So

  • Posts

  • Joined

  • Last visited

Everything posted by Gideon So

  1. 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; ?>
  2. 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
  3. Hi, Got it solved myself. I use $p = $pages->find("template=repeater_yourRepeaterField, limit=10") rather than $p = $page->yourRepeaterField->find("limit=10"). Gideon
  4. 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
  5. Hi, Is it possible to do pagination for repeater field? Gideon
  6. 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
  7. Thanks for the update on this amazing project. Looks more and more promising. Gideon
  8. 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
  9. 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
  10. WOW. Amazing. Impressive. This community is incredibly talented. Gideon
  11. 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
  12. 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
  13. 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
  14. Maybe you need to check if the .htaccess file there in the server folder? Gideon
  15. 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
  16. Hi @theo, Nice work. Glad to see some progress. Gideon
  17. Hi, Maybe a dumb question. Shouldn't $file->url works like $image->url that both of them return path with filename?? Gideoon
  18. When does the public beta come out and we can give it a try?? Waiting for it eager ly. Gideon
  19. Hi @Robin S, Thanks for the tip. Never seen that. It works. Gideon
  20. Hi, I built a login form for user to login to the web. There is a case when a user login with incorrect user name or password and he /she login again immediately that causes an internal server error. Then I checked the system session log: And then I checked the system exception log: Look like the system think that the guest user logged in to the system twice in a very short period and causes a 500 internal server error. The workaround for now is uninstall the LoginThrottle module. Is there any way to remedy this?? Gideon
  21. Hi @mattcohen, Welcome to the forum. The code should look like this <?php $set_page = $page->title; $count = $pages->find("template=prices, title=$set_page")->count();
  • Create New...