Quote Originally Posted by gwynwyffar View Post
Any idea how to fix the SpiffyCal layout? I'm assuming this has to do with the new Bootstrap based Admin style or the updates to the calendar javascript in 1.5.6a, but when attempting to choose a custom date, the calendar goes off the left side of the screen and browser doesn't allow scrolling to the left.

ZenCart 1.5.6a
PHP 7.1

Tested in Firefox 65, Chrome 72, MS Edge
Attachment 18358
the problem is with the spiffyCal plugin that comes with the base ZC package. it is version 2.1 and dated 2001. i think this is a plugin that needs to be replaced by the ZC team.

this spiffyCal is used in a number of places, so changes here can affect where it is used elsewhere. so use with caution.

if you go here:

YOUR_ADMIN/includes/javascript/spiffyCal/spiffyCal_v2_1.js

lines 1026 and 1037; you will see:

- 250

change that to

-10

not sure how it will affect other dates in your admin.

Code:
                if (scIE) {
                    if (this.displayLeft) {
                        scX = getOffsetLeft(document.images[this.btnName]) - 10 + document.images[this.btnName].width;
                    } else {
                        scX = getOffsetLeft(document.images[this.btnName]);
                    }
                    if (this.displayTop) {
                        scY = getOffsetTop(document.images[this.btnName]) - 138;
                    } else {
                        scY = getOffsetTop(document.images[this.btnName]) + document.images[this.btnName].height + 2;
                    }
                } else if (scNN) {
                    if (this.displayLeft) {
                        scX = document.images[this.btnName].x - 10 + document.images[this.btnName].width;
                    } else {
                        scX = document.images[this.btnName].x;