Hello!
I’ve been having some issues trying to get a global var to get the right data. I’m using EE 1.6.9 and building with structure, and strict urls are on. In an attempt to create year filtering on my entries, I’m creating urls likes this:
http://www.minnesotawineclub.com/news/?year=2009
This has worked in the past on many sites I’ve developed by adding the following code to the path.php file.
$global_vars = array(
'get:year' => isset($_GET['year']) ? $_GET['year'] : null
);However, the variable is always returning null. Upon further inspection, I’ve noticed any $_GET I attempt is not returning a value. I’m wondering if this has anything to do with the server I’m on (my first EE site on this server) and the URI Type. I’m currently set to auto (0) as I normally have in the past.
Any insight that could be provided by anyone would be most helpful.
Thank You!
- Anthony