DivaVocals:
Browsing through the ZenCart contributions, I ran across this little guy:
http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_47&products_id=782
Now I had to download WinRar to even open the contribution because it is in a **bz2 **format (sigh). The file is a slightly jumbled mess with lots of strange characters in it. So after looking it over and doing some cleanup, I managed to make sense of the instructions and replacement code. I'm gonna give it a whirl on my test ZenCart.. If this works, I think this might get me EXACTLY what I want..
In case anyone else is interested, I am including my "cleansed" version of the contribution file. All I did was to get rid of the strange characters, and rearranged/edited the contribution instructions for clarity.
The question I have is this.. When I do this, am I correct in assuming that I should follow the override system when replacing the init_sanitize.php file??
I wrote this small contribution. Actually it was .tar.bz2 file, but zen-cart site removed second extension, you were reading .tar archive. I reuploaded it as .zip, it will appear after validation.
(Un)installation instructions should be read as they are. You need just copy/delete included files, you shouldn't have overrides/init_sanitize.php file before installing contribution, unless your zen-cart is heavily modified.
It can help you if you set "Default main page URL" to "index" and "Default main page URL parameters" to "cPath=0". But you'll need another zen-cart installation for this, it works only with index page... I'm not sure it is what you are looking for.
btw, bzip2 can be read with free 7-zip archiver.