PDA

View Full Version : Category Filter redirects to index.php


vongurdy
03-20-2012, 03:57 PM
Hi EPC Team,
I am experiencing the same problem as one of your members did back in 2009. The category filter drop down once selected, it redirects the page to the index.pxp. I found a suggested solution to insert this code:

$thisFile="/?page_id=ID#";

right above the category filter code. I also insert into the filter.php file the code:

<input name="page_id" type="hidden" id="page_id" value="<?php echo $_REQUEST['page_id'] ?>" />

which was just a suggestion because it was not tested before.

Neither of the suggestions worked. It was mentioned in the tread that there was a possibility that a url re-write issue could be the cause of the problem. I am not using Wordpress, I am using Modx.

I am wondering if you have a solution or suggestion for this type of problem. I know is not a easy php calendar because it works outside Modx. Any help would be appreciated. Thank you in advance. :classic:

ve9gra
03-21-2012, 12:46 PM
You would have to adjust the value for $thisFile to match what it is that you need.

If you're having problems with the filtering, are you also having problems with the navigation?