The left and right column buttons didn't work for me in Internet Explorer.
To fix this open admin/infobox_configuration.php and find:
case 'setflagcolumn': //set the status of a box left or right.
if ( ($HTTP_GET_VARS['flag'] == 'left') || ($HTTP_GET_VARS['flag'] == 'right') ) {
if ($HTTP_GET_VARS['cID']) {
tep_db_query("update " . TABLE_THEME_CONFIGURATION . " set configuration_column = '" . $HTTP_GET_VARS['flag'] . "' where configuration_id = '" . (int)$cID . "'");
}
}
Replace it with:
case 'setflagcolumn': //set the status of a box left or right.
if ( ($HTTP_GET_VARS['flag'] == 'left') || ($HTTP_GET_VARS['flag'] == 'right') ) {
if ($HTTP_GET_VARS['cID']) {
tep_db_query("update " . TABLE_THEME_CONFIGURATION . " set configuration_column = '" . $HTTP_GET_VARS['flag'] . "' where configuration_id = '" . $HTTP_GET_VARS['cID'] . "'");
}
}
That should do the trick!
The only difference is the configuration_id. Changed it from (int)$cID to $HTTP_GET_VARS['cID']
Hope this helps.
NOTE: Zip contains .txt file with above text.
More...





LinkBack URL
About LinkBacks









Bookmarks