Jump to content

ottogal

Members
  • Content Count

    257
  • Joined

  • Last visited

Community Reputation

181 Excellent

About ottogal

  • Rank
    Sr. Member
  • Birthday 06/18/1949

Profile Information

  • Gender
    Male
  • Location
    Berlin/Germany

Recent Profile Visitors

3,105 profile views
  1. ATM dist(me, Berlin) > 1,300 km 🙁
  2. You could try $matches = $pages->find("template=expertsItem, location=$location, department=$department, sort=expertSurname")->not("department=2131");
  3. In the code fragment you showed of your template file there is no output of the image (like @louisstephens proposed). Without more information it is hard to help.
  4. Go to the tab "Details", under "Maximum files allowed" enter 1. Go to the tab "Actions" and assure to have ticked the checkbox of the template you want to have the header image in.
  5. If so, have a look to FieldsetGroups, too.
  6. The MultiValue Textformatter might be of interest for your use case. (I have no own experience with it, though.)
  7. Hi all, wanting to modify the CSS of a core module (JqueryMagnific in my case), but not to touch the files in \wire\, I found this older blog entry: https://processwire.com/blog/posts/processwire-core-updates-2.5.14/#multiple-copies-of-the-same-module That might be helpful for others, too. (It's pure fun using PW!)
  8. Hi @tpr, I found an irritating behaviour when using the submodule ListerTweaks. If I make a custom selection of the Users lister columns, it will not be reflected in the columns selection on the Users page: There the default selection is displayed, and trying to change it has no effect.
  9. Citing from the linked doc pages: Here "$count option" should read "getQty" option, shouldn't it?
  10. You could try this: $selector = $pages->find=("(template=x|y|z|a), (template=a, status=hidden), ... See https://processwire.com/docs/selectors/#access_control :
  11. The messages you get refer to your files and line numbers. We don't know what they contain, so hardly can help without more information.
  12. Wasn't aware of that - but found the blog post: https://processwire.com/blog/posts/processwires-roadmap-in-2015/ 1 hour ago, adrian said: The advantages of using this _OR_ syntax are explained in this blog post: https://processwire.com/blog/posts/processwire-3.0.40-core-updates/#getting-one-field-or-another-from-a-page
  13. It's the same with any search term ending with the open bracket, f.e. config( - with or without $. Edit: Not an issue of the missing closed bracket: Same with config() etc.
  14. @ryan On the Docs' page The $pages API variable, the first red link $pages API methods is linking to the page itself (instead of https://processwire.com/api/ref/pages/ ).
  15. I'd prefer the first variant over the second, because the "->" is more suggestive if concatenating in several steps like $page->{parent}->{'headline|title'}. (This concatenation syntax, adapted from JQuery, was it to draw me into PW some years ago, because of its intuitive comprehensability.) The second variant instead could be, I think, even confusing, since it differs from the function version page('headline|title') just in the $ character.
×
×
  • Create New...