X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   the horrible warning box (https://forum.x-cart.com/showthread.php?t=55858)

chrisr 10-05-2010 04:12 PM

the horrible warning box
 
is there an easy way of changing that horrible warning box that pops up briefly with any errors/warnings, before disappearing?

not the standard javascript window that is centred, but the program generated one.

I can see where to adjust the timer for box duration, but the position inthe top right, and also the fact that it can disappear before you had time to notice it, is soooo user unfriendly.

i'd love to go back to the old way of having the message as part of the page, so you could see and analyze the problem.

cflsystems 10-05-2010 06:14 PM

Re: the horrible warning box
 
Well I reported this in the bugtracker for QT to fix it and yet they released 4.4.1 without a fix even though there were other users complaining about this. Maybe we should wait for 4.4.5....

jadefrolics 10-05-2010 07:52 PM

Re: the horrible warning box
 
I agree-- those top right popups drive me nuts. I also want the errors to just show up in the page, or at least have an option for it. However, I imagine it would be an involved process getting all those error messages inline, and I don't think I could figure it out on my own. Does anyone know how to make these popups less awful?

photo 08-30-2012 07:49 AM

Re: the horrible warning box
 
Quote:

Originally Posted by cflsystems
Well I reported this in the bugtracker for QT to fix it and yet they released 4.4.1 without a fix even though there were other users complaining about this. Maybe we should wait for 4.4.5....


It appears to be the same deal in v4.5.x
Has anyone changed/modified this successfully yet?

gb2world 08-30-2012 10:53 AM

Re: the horrible warning box
 
CFL Systems has a mod: http://www.cflsystems.com/system-messages-for-x-cart.html

---

photo 08-30-2012 10:57 AM

Re: the horrible warning box
 
Quote:

Originally Posted by gb2world


Thank you for the link.

designguru 09-12-2012 04:49 AM

Re: the horrible warning box
 
They really look very dated.
Are you really telling me that there's no easy way to style them?

totaltec 09-19-2012 11:04 AM

Re: the horrible warning box
 
Worked on this a bit today. To style the popup add this to your altskin.css:
Code:

/**
 * Dialog message container
 */
#dialog-message {
  margin: 0 -225px 0 0;
  padding: 0;
  position: fixed;
  right: 50%;
  top: 100px;
  width: 450px;
  z-index: 1000;
}
#dialog-message .box {
  position: relative;
  border: 1px solid #000;
  border-top: 3px solid #000;
  padding: 10px 25px 10px 59px;
  vertical-align: middle;
  text-align: left;
  min-height: 32px;
}

Should center the message, widen it a bit, and push it down 100px- at least this should get you started styling these.

Another place to look for settings for OPC page is /skin/common_files/modules/OnePageCheckout/ajax.checkout.js:
Code:

  var opts = {
    message: $(m),
    showOverlay: false,
    centerY: false,
    timeout: 5000,
    css: {
      border: 'solid 3px #fff',
      right: '0px',
      left: '',
      top: '0px',
      width: '350px',
      textAlign: 'left',
      backgroundColor: 'transparent',
      cursor: null,
      padding: '0px',
      margin: '0px'
    }


ADDISON 09-19-2012 12:56 PM

Re: the horrible warning box
 
Great job Mike, but QT should make faster a modification for next versions: all XC messages must have the same style. What Steve did in his own extras it is a great addition for XC - this should be a "must have" in future XC4. You know, it is so funny to see different popup windows in v4.5.2!

cflsystems 09-19-2012 01:04 PM

Re: the horrible warning box
 
Actually this is what I did here - http://www.cablesmarket.com/3.5mm-adapters/ - all messages use builtin jQuery UI. So pretty sure QT can do the same :)


All times are GMT -8. The time now is 11:45 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.