Jump to content

Gideon So

Members
  • Posts

    513
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Gideon So

  1. Hi @xxxlogiatxxx, There is no $page->find(). You may want to find all pages which use template "item". The syntax should be: $fields = $pages->find("template=item, sort=item_type"); Gideon
  2. Hi @Neveroff, I started my journey with this one: Gideon
  3. Just replace the css file and js file and you have the latest bootstrap 4 version. Gideon
  4. I read Medium everyday but not a blog. Medium indeed is replacing blogs. Gideon
  5. Very impressive. Why not post in the modules main forum? Gideon
  6. Hi, Maybe you should try using a full URL. Gideon
  7. Hi, Maybe you can check your web server error log to see if any clues there. Gideon
  8. Hi @Macrura Thanks for your advice. I will take a look. Gideon
  9. Hi @kixe, Thanks for your suggestion but I am not looking for logging. I need to show some message in the backend while a user edit a page. Gideon
  10. Hi, I have a field (page reference field) that allows user to choose news category. I want to show some message if the user choose certain category as a reminder. How can I do that? Gideon
  11. Hi, $page->child already select the first child of the current page. I think there is no need to add any selector to it. Gideon
  12. Sort or search by field other than system field like id, created, etc is not possible because all the custom form fields are saved as one array in the database. Gideon
  13. +1. Much better to have it in field settings. Gideon
  14. Hi, The solution is simple. $pages->find("my_repeater_matrix.my_repeater.my_textarea_field%=$q"); I think I messed up with field name before. Gideon
  15. Hi @Robin S, I have tried this syntax. Here is my line of code. $pages->find("repeater_matrix_field.repeater_field.textarea%=$q"). it seems that it does not work in repeater in a repeater matrix context. It still return no results. Gideon
  16. Hi, Typo here. I think I use the right operator in my code. Any more suggestions? Gideon
  17. Correct a typo here doesn't help much. ?? Gideon
  18. 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
  19. LimWub, Your code only shows the first 3. Try this: $Events = $pages->get('/Events/')->Events_repeat->find('limit=3,start=-3'); Gideon
  20. Hi, Sounds very interesting and useful to many. Gideon
  21. Hi Adrian, Confirmed this version fixed the problem. Gideon
  22. I have the same problem with repeater also. The solution is exclude the repeater page under admin in the module settings. Gideon
  23. @Speed You are welcome. Even better to change the document root in your web server setting.
  24. 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.
  25. 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??
×
×
  • Create New...