Quote:
Originally Posted by sticky
Ok, I'm going to try to install is.
So iei_getfile_index I replace with all the code you posted?
As for the last part, sorry what am I replacing exactly? What is the call to function?
|
You could replace the old function with mine, or you could keep the old function and just add my function to the code.
As for the "call to the function" it's the line directly under the comment
//Get File Index
Replace the line:
PHP Code:
$filename = iei_get_file_index($path, $extension);
With
PHP Code:
$filename = iei_get_file_index_name($path, $extension, $value);
Or better yet just comment out the first line and add the other one below it so you have the original code if you ever want to go back:
PHP Code:
//$filename = iei_get_file_index($path, $extension);
$filename = iei_get_file_index_name($path, $extension, $value);