
Originally Posted by
gjh42
After looking at all the pieces of code to handle sideboxes, I was able to rethink the process and greatly simplify it. With the sidebox filename in middlebox_filenames.php (replacing 'define_middlebox_x' with 'best_sellers'), the controller can handle them each appropriately. Making that one edit renders the corresponding define file irrelevant, as the sidebox will be called in its place during middlebox group processing. I still have to test it to make sure there isn't some other bump in the road (like Zen Cart define pages editor looking for a best_sellers define file and throwing an error??) which may require alternate coding...