Jump to content

Gideon So

Members
  • Posts

    469
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Gideon So

  1. I have a repeater matrix field in which there is a repeater field that container a textarea field. How can I search text in the textarea?? I tried $pages->find("repeater_matrix_field.repaeter_field.textarea=%$q"), but return no results. Any idea how to do it?? Gideon
  2. LimWub, Your code only shows the first 3. Try this: $Events = $pages->get('/Events/')->Events_repeat->find('limit=3,start=-3'); Gideon
  3. Hi, Sounds very interesting and useful to many. Gideon
  4. Hi Adrian, Confirmed this version fixed the problem. Gideon
  5. I have the same problem with repeater also. The solution is exclude the repeater page under admin in the module settings. Gideon
  6. @Speed You are welcome. Even better to change the document root in your web server setting.
  7. it is better to do it the other way. Upload the new site to a sub folder. After you test it, create a redirect in the original folder to redirect all the request to the new site.
  8. The .htaccess file come with ProcessWire should work out of the box. The only reason I can think of is that the web server doesn't allow you to override it's default setting values. Do you have access right to the web server config??
  9. Hi, I found that it is not possible to insert a link with underscore in the sub-domain part of a url, for example, my_sundomain.mydomain.com. Once save the page the link becomes "/". Is it intentional or a bug?? Gideon
  10. Welcome @handzain. This is a very friendly and helpful community. I believe you will get much help here like I did. Gideon
  11. Hi, Done. https://github.com/processwire/processwire-requests/issues/56 Gideon
  12. Hi, When upload a file with non ascii file name, all the characters get stripped. Is there any way to retain non ascii like Asian characters in file name?? Gideon
  13. Hi, As far as I know, no '+' sign in selector. Gideon
  14. Hi, Can you make a screen shot to give us a little more info?? Gideon
  15. Hi, I think it should be $page->nameofthefield->title and $page->nameofthefield->value Gideon
  16. Oooppps. Too many errors today. Didn't notice it until now. Thanks for reminding me. Edited. Gideon @kongondo
  17. Hi BitPoet, I did think the same but I have no access to the client's database. I come with another way, make a custom login form to one of the page and login from the page. Then go back to the admin page. Thanks for your quick reply and help anyway. Gideon
  18. Hi, I accidentally set the admin template to show 404 page when user have no access right. Then I cannot access the login page anymore. Anyway I can roll back the setting?? Gideon
  19. Hi LostKobrakai, It works as expected. Hope this thread help someone in the future. Big thanks to you two. Gideon
  20. Hi Bitpoet, Eventually you are right. In multi-instance environment, you need to call the first object even the limit of the image filed is set to 1. Maybe this is a bug in multi-instance support. Gideon
  21. Hi, Yes. You can see it $site = new ProcessWire('/path/to/the/site/','url.of.the.site'); I tried to set the field both automatic and one. By the way $site->pages->get(pageid)->httpUrl works. Gideon
  22. Hi BitPoet, Yes. The limit to this field is 1. So I think my syntax is right. Gideon
  23. Hi, I tried multi-instance and found that I cannot load image from other installation with $image->httpUrl. <?php $site = new ProcessWire('/path/to/the/site/','url.of.the.site'); echo $site->pages->get(pageid)->imagefield->httpUrl; ?> This return nothing. <?php $site = new ProcessWire('/path/to/the/site/','url.of.the.site'); echo $site->pages->get(pageid)->imagefield->url; ?> This only return the page path like site/assets/files/pageid/ I am using PW 3.0.33 Any ideas?? Gideon
  24. Hi, Thanks. I will take a look and try. Gideon
×
×
  • Create New...