Search the Community
Showing results for tags 'querystring'.
-
With JS fetch() it is a bit tricky to get for example $_POST populated (params need to be FormData / forms), but would it possible to get PW $input (get, post, urlSegments, queryString) working for fetch requests? Is there a fix / hook / workaround to solve it PW side?
- 2 replies
-
- querystring
- segments
- (and 4 more)
-
We have a members area (accessed via a login) which lists a load of horses. Much of the information here is members-only and has been stored as pages in the backend of the website (via a feed). We now wish to consume this information on the frontend (public) area of the site. In my template I can easily grab the horses and loop through them but on the frontend $horse->url returns the members area url so: members/horses/horsename Rather than /public/horses/horsename Is there a sensible way to solve this or am I going to have to resort to creating a custom URL format. grabbing a reference and passing it to the next page? Many thanks Pete
-
Hi, I'm struggling with adding a querystring parameter in a page URL. Links like my-domain.com/quote?pack_id=xxx leads to the 404 error page. What are the template settings to allow Processwire to accept the querystring parameters ?