This mod ensures that mobile devices only see the top or current level of page links rather than all levels, including sub-pages. The default display can quickly clutter the mobile view if there’s a lot of sub-pages. Open: /includes/display/PagesMenu.php Find: Replace with:
Author: Martin
unreachable code after return statement – common.js
Bit of code that nobody every bothered to fix before as the error only ever appears in console. Open: /javascript/common.js Find: Replace with:
404.php alternative
This is a replacement of the class.404.php file and provides a lot more information to help backtrace problems, hacking attempts, etc… Replace /includes/classes/class.404.php with: Alternative version to catch all 404 without $_POST and $_GET, only exclude when particular strings in URL
MacOS 404 error when Ajax fastcart fails to handle redirect correctly.
Behaviour:Some browsers (most notably on MacOS) seem to drop Ajax calls that should be appearing in the fastcart pop-over and pass them to a new tab or the parent window resulting in the end-user getting a 404. This seems to happen when the cart has returned an error such as “insufficient stock for that product”…