Can query string content be accessed in a template?

General project discussion. NOT for help questions.
Post Reply
mikem333
New Member
New Member
Posts: 2
Joined: Wed Oct 20, 2010 7:29 pm

Can query string content be accessed in a template?

Post by mikem333 »

Hi,

Is it possible to reference query string stuff (like page ID# or page alias) in a template?

Mike
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Can query string content be accessed in a template?

Post by jmcgin51 »

have you read the Smarty manual?

http://www.smarty.net/

Something like {$smarty.get.yourvariablenamehere} should work
mikem333
New Member
New Member
Posts: 2
Joined: Wed Oct 20, 2010 7:29 pm

Re: Can query string content be accessed in a template?

Post 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.
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: Can query string content be accessed in a template?

Post by Jeff »

{get_template_vars}
Post Reply

Return to “General Discussion”