Jump to content

Daniel Zellfelder

Members
  • Posts

    2
  • Joined

  • Last visited

Contact Methods

  • Website URL
    https://zellfelder.de/

Profile Information

  • Location
    Bechhofen, Germany

Recent Profile Visitors

1,030 profile views

Daniel Zellfelder's Achievements

Newbie

Newbie (2/6)

1

Reputation

  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...