Can't pass get variables in URL

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
kounueddy
New Member
New Member
Posts: 2
Joined: Thu Oct 27, 2011 7:53 am

Can't pass get variables in URL

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Can't pass get variables in URL

Post by Dr.CSS »

It helps if you tell why you need to do this...
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Can't pass get variables in URL

Post 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}
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
kounueddy
New Member
New Member
Posts: 2
Joined: Thu Oct 27, 2011 7:53 am

Re: Can't pass get variables in URL

Post 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.
Post Reply

Return to “CMSMS Core”