This is an extensive update to categories.php.
Just extract the file and replace /admin/categories.php with this file or use a file comparison program to integrate the changes manually OR use the included Report.html file to integrate the changes. Remember to backup any previous file.
This version fixes several bugs found in version 4 and added several usability enhancements for the search option. I am sure the code writing can be improved because my PHP skills are quite moderate, so if anyone wants to improve/clean up the code - you are more than welcome. In any case - the file does the job. It is based on categories.php from MS2.2 RC2a.
Pagination works here properly in all tested cases.
This IS a full package.
If you get this error (Fatal error: Call to undefined function: tep_hide_session_id() in...) it's probably because you didn't upgrade to the latest OSC RC1.
This function comes with RC1, please add it to your admin/includes/functions/html_output.php file
Make sure you paste the code right ABOVE the final ?> at the bottom of the file:
// Hide form elements
function tep_hide_session_id() {
$string = '';
if (defined('SID') && tep_not_null(SID)) {
$string = tep_draw_hidden_field(tep_session_name(), tep_session_id());
}
return $string;
}
More...





LinkBack URL
About LinkBacks









Bookmarks