Page 1 of 1

Can't pass get variables in URL

Posted: Thu Oct 27, 2011 8:09 am
by kounueddy
Hi all.
I've been using CMSMS for a few days now(literally), and the problem is that I can't pass a variable in the URL(obviously, as the title says)
For example, I have the page myPage.com/index.php?page=view-user&id=3
When I'm using that no content it's displayed. However, when I remove that &id=3 from the link of the page it works as usual.

I think there's a setting in CMSMS, to allow/disallow this, but I can't find it. I search for a while on google, and on forum, but can't find anything.

Any help will be greatly appreciated.

Re: Can't pass get variables in URL

Posted: Thu Oct 27, 2011 10:58 pm
by Dr.CSS
It helps if you tell why you need to do this...

Re: Can't pass get variables in URL

Posted: Thu Oct 27, 2011 11:00 pm
by calguy1000
For example, I have the page myPage.com/index.php?page=view-user&id=3
id is reserved, and used internally by CMSMS. Pick a different variable, and then it'll be available as {$smarty.get.myvariablename}

Re: Can't pass get variables in URL

Posted: Sat Oct 29, 2011 6:32 am
by kounueddy
Hey, thanks for the answer.
I will try and be back with the answer.
I need the id, because, well, I thought this it's obviously, I have a page where you can see the profile of a user, and I need that page to be displayed according to an id.