Jump to content

Alexey

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Alexey

  1. Output should be at minPrice and maxPrice
  2. Hi, question for Bernhard, how to make such a query with grouping by names and sorting by price? Including pagination. $pages->find("template=stock, stock_drug.title%=ана, parent.template=apteka, parent.parent.name=moskva, sort=stock_price, limit=10") ?‍♂️
  3. I understand, for example, that today there is a pharmacy in this city, and tomorrow it stopped working with us, and if this pharmacy is the only one in the selected region, then it is removed and, of course, the city must be removed, everything happens dynamically. I just switch from yii2 to processwire, everything happens dynamically there without manual intervention.
  4. That didn't work, for me it worked like this: $template = $templates->get('home'); $template->urlSegments = array_merge($template->urlSegments, ['new_city']); $template->save(); ChatGPT helped ?
  5. Yes, how do i add url segment to whitelist? Without manually adding...
  6. API, how do I dynamically add a segment url to a template?
×
×
  • Create New...