Frisser Posted May 24, 2011 Share Posted May 24, 2011 I have installed Products Specifications module, works great only I have a problem with the split page function. This is the result of page 1: products_filter.php?f4[0]=essenza&cPath=29&sort=6a if I go to page 2 it goes to: products_filter.php?f4=Array&cPath=29&sort=products_name&page=2 This isn't working. products_filter.php uses the standard product_listing.php. A different function which works is this: Page 1 -> products_filter.php?f3=10-50&cPath=29&sort=6a If I go to page 2: products_filter.php?f3=10-50&cPath=29&sort=products_name&page=2 So for some reason the ?f4[0]=essenza isn't working if I want to split pages. Where must I find the solution? In split_page_results.php? Link to comment Share on other sites More sharing options...
Frisser Posted May 24, 2011 Author Share Posted May 24, 2011 Ok it's this function in general.php //// // Return all HTTP GET variables, except those passed as a parameter function tep_get_all_get_params($exclude_array = '') { global $HTTP_GET_VARS; if (!is_array($exclude_array)) $exclude_array = array(); $get_url = ''; if (is_array($HTTP_GET_VARS) && (sizeof($HTTP_GET_VARS) > 0)) { reset($HTTP_GET_VARS); while (list($key, $value) = each($HTTP_GET_VARS)) { if ( (strlen($value) > 0) && ($key != tep_session_name()) && ($key != 'error') && (!in_array($key, $exclude_array)) && ($key != 'x') && ($key != 'y') ) { $get_url .= $key . '=' . rawurlencode(stripslashes($value)) . '&'; } } } return $get_url; } The problem is the [] in the URL. Must I change something in this function to let my problem work? Link to comment Share on other sites More sharing options...
Frisser Posted May 24, 2011 Author Share Posted May 24, 2011 .. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.