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.
Can't pass get variables in URL
Re: Can't pass get variables in URL
It helps if you tell why you need to do this...
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Can't pass get variables in URL
id is reserved, and used internally by CMSMS. Pick a different variable, and then it'll be available as {$smarty.get.myvariablename}For example, I have the page myPage.com/index.php?page=view-user&id=3
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.
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.
Re: Can't pass get variables in URL
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.
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.