• Content count

  • Joined

  • Last visited

  • Days Won


Zeka last won the day on August 13

Zeka had the most liked content!

Community Reputation

269 Excellent

About Zeka

  • Rank
    Sr. Member

Profile Information

  • Gender
  • Location
    Kiev, Ukraine

Recent Profile Visitors

1,345 profile views
  1. https://processwire.com/blog/posts/processwire-3.0.40-core-updates/#tips-and-tricks
  2. Hi @Juergen First of all, you have to be sure that your defined setting in cache disable variables is correct. To test it try to put * in GET or POST field in settings and try to submit the form.
  3. I had a situation when I needed to get next repeater item and I also was able to get it working only with "include=all". I'm not sure, but it looks like normal behavior as these pages are under "admin" branch.
  4. Hi @Karl_T Take a look at this module https://github.com/plauclair/AutodetectLanguage/blob/master/AutodetectLanguage.module
  5. You definitely should take a look at URL segments. The power of URL segments is that your URL structure can be different from you page tree structure and in your case, as, for me, it is highly desirable. I think that is not a good way to place products under categories because some products can be relative to several categories. How will you handle it?
  6. Hi @OLSA Because SEO is very important in that kind of business/site I would first of all stick to its requirements and that to other things like the usability of administration etc.d In your second example, you can change "showers and bathtubs" to something more general like "bathroom". In that case, you will have additions keyword in your URL. If your page name includes stop words (and, or, but, of, the, a, etc.), it's not critical to putting them in the URL. You don't have to leave them out, either, but it can sometimes help to make a URL shorter and more readable in some sharing contexts. Use your best judgment on whether to include or not based on the readability vs. length. As for best URL structure, I would recommend "site.com/bathroom/showers/product". You can do it by using URL segments, so you can have desired page tree in admin and perfect URL structure on the frontend. Of course, it's much more work and there is a lot of small things like canonical links, redirect etc that you have to think about. As another way to make your URL shorter you can move only last "product" part to "products", so you will have "products/product". Don't forget to use schema.org or other for breadcrumbs.
  7. Hi @sirhc 1. Set memory_limit to a higher value. 2. Use ImageMagick https://processwire.com/blog/posts/processwire-3.0.10-expands-image-resize-options/ 3. Use client-side image resizing https://processwire.com/blog/posts/processwire-3.0.63-adds-client-side-image-resizing/
  8. Hi @Gideon So Thank you for the reply. I have seen this module, but from the description, it looks like it's possible to restrict page tree to only one branch. Am I mistaken?
  9. Hi! I need to restrict page tree to two branches of pages under homepage. And I don't want to show not editable pages for a user in page tree. What is the right way to do that?
  10. Hi @Lance O. You can do it by specifying needed selector in the field options or with hook.
  11. Hi @PWaddict Are you sure that you have repeater items that should match your selector? Your code looks good to me.
  12. Hi, Not sure, but it could be relative to notices that you have on the top of your page
  13. Hi @Davidov There are two ways how to get it working $teacherItem->teacher_photo->first()->maxWidth(250)->url; Or change your image field setting to: And then you will be able to use your existing code
  14. Hi @franciccio-ITALIANO There are several ways to do that. 1. Use ProField Multiplier https://processwire.com/api/modules/profields/multiplier/ 2. Use repeater field 3. Use MultiValue Textformatter https://modules.processwire.com/modules/textformatter-multi-value/
  15. Hi @webhoes You can do it in several ways $arr = $pages->find()->getArray(); $result = array_unique($arr); or $arr = $pages->find()->unique(); https://processwire.com/api/ref/wirearray/unique/ $pages->find() method returns a filtered PageArray unless an include mode is specified.