Page 1 of 1
Can query string content be accessed in a template?
Posted: Wed Oct 20, 2010 7:39 pm
by mikem333
Hi,
Is it possible to reference query string stuff (like page ID# or page alias) in a template?
Mike
Re: Can query string content be accessed in a template?
Posted: Wed Oct 20, 2010 8:03 pm
by jmcgin51
have you read the Smarty manual?
http://www.smarty.net/
Something like {$smarty.get.yourvariablenamehere} should work
Re: Can query string content be accessed in a template?
Posted: Wed Oct 20, 2010 10:27 pm
by mikem333
Ah, thank you!
And, no, I didn't read the Smarty manual, but I read the CMSMS documentation and I searched this forum.
Re: Can query string content be accessed in a template?
Posted: Thu Oct 21, 2010 12:23 am
by Jeff
{get_template_vars}