Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Retrieving querystring parameters
#1
I'm sure this is covered somewhere in here, but I haven't been able to track it down...

I want to make a single page to display any gallery, and just pass it the name of the gallery in the URL. I've made a page template for this in my theme, and an empty page using it. The template picks up the parameter as $_REQUEST['galname'] and that part works - parameter does get to the page. But the gallery generation doesn't work - I just see the string which is meant to trigger it. I'm guessing this is because this substitution is happening too late in the process of building the page. So, is this even possible? Any pointers welcome if it is.
Reply


Messages In This Thread
Retrieving querystring parameters - by marshallarts - 2021-04-21, 20:33:06
RE: Retrieving querystring parameters - by Felix - 2021-04-21, 21:54:13



Users browsing this thread: 1 Guest(s)