Jump to content

Daniel Zellfelder

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Daniel Zellfelder

  1. I see… so maybe $pages->getRaw() is the right thing for you? $protein_url = $pages->getRaw("template=protein, title='$search_input'", "url"); https://processwire.com/api/ref/pages/get-raw/
  2. Hi, of course you can use the redirect-function just with a url based on the input. This is basically what you provide PW with $protein_page->url. But I'm not quite sure if this makes a big difference in your case since you're using $pages->get before. So just try out what works better / more performant for you.
×
×
  • Create New...