Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

the horrible warning box

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-05-2010, 04:12 PM
 
chrisr chrisr is offline
 

Member
  
Join Date: Jun 2007
Posts: 21
 

Default 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.
__________________
4.1.8, 4.1.11,4.2.2, converting to 4.4

Australia
Reply With Quote
  #2  
Old 10-05-2010, 06:14 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default 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....
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 10-05-2010, 07:52 PM
  jadefrolics's Avatar 
jadefrolics jadefrolics is offline
 

Senior Member
  
Join Date: Feb 2010
Posts: 138
 

Default 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?
__________________
shop jadefrolics
illustrated prints, accessories, and other goodies
http://shop.jadefrolics.com
X-Cart Gold Version 4.4.1
Reply With Quote
  #4  
Old 08-30-2012, 07:49 AM
  photo's Avatar 
photo photo is offline
 

X-Wizard
  
Join Date: Feb 2006
Location: UK
Posts: 1,146
 

Default 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?
__________________
v4.1.10
In Dev v4.5.x


"If you don't keep an eye on your business, someone else will."
Reply With Quote
  #5  
Old 08-30-2012, 10:53 AM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: the horrible warning box

CFL Systems has a mod: http://www.cflsystems.com/system-messages-for-x-cart.html

---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote

The following 2 users thank gb2world for this useful post:
cflsystems (09-01-2012), photo (08-30-2012)
  #6  
Old 08-30-2012, 10:57 AM
  photo's Avatar 
photo photo is offline
 

X-Wizard
  
Join Date: Feb 2006
Location: UK
Posts: 1,146
 

Default Re: the horrible warning box

Quote:
Originally Posted by gb2world

Thank you for the link.
__________________
v4.1.10
In Dev v4.5.x


"If you don't keep an eye on your business, someone else will."
Reply With Quote
  #7  
Old 09-12-2012, 04:49 AM
 
designguru designguru is offline
 

X-Adept
  
Join Date: Dec 2010
Posts: 418
 

Default Re: the horrible warning box

They really look very dated.
Are you really telling me that there's no easy way to style them?
__________________
X-Cart Pro 4.6.2 with many modules
X-CART Pro 4.4.1
Reply With Quote
  #8  
Old 09-19-2012, 11:04 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default 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' }
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following 4 users thank totaltec for this useful post:
ADDISON (09-19-2012), Emerson (09-19-2012), reid.hickman (04-03-2013), sixfigure (09-26-2012)
  #9  
Old 09-19-2012, 12:56 PM
  ADDISON's Avatar 
ADDISON ADDISON is offline
 

X-Man
  
Join Date: Jan 2008
Posts: 2,613
 

Default 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!
__________________
X-Cart Next: Business 5.2 (learning and testing)
X-Cart Classic: Gold and Gold Plus 4.7
Lots of Modules and Customizations
OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux
Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions)

You can catch my ideas here: http://ideas.x-cart.com
Reply With Quote
  #10  
Old 09-19-2012, 01:04 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default 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
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:44 PM.

   

 
X-Cart forums © 2001-2020