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

X-Cart popup messages

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #11  
Old 07-22-2011, 08:02 AM
 
welly welly is offline
 

eXpert
  
Join Date: Mar 2011
Location: UK
Posts: 209
 

Default Re: X-Cart popup messages

Thanks Steve. I'll give it a go.

I assume I won't have any problems when I change domain? I'm working on a subdomain at the moment (xcart.traininglines.co.uk) but will move to www.traininglines.co.uk shortly.

Cheers

Welly
__________________
X-Cart Business 5.3.6
Various add-ons

www.traininglines.co.uk
Reply With Quote
  #12  
Old 07-22-2011, 01:14 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: X-Cart popup messages

No, you won't have any problems with domain name
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #13  
Old 07-23-2011, 01:58 AM
 
welly welly is offline
 

eXpert
  
Join Date: Mar 2011
Location: UK
Posts: 209
 

Default Re: X-Cart popup messages

I've installed it, and so far it looks great. Money well spent!

I'll admit I found it a bit tricky to pick through the install to avoid the 'add to cart' stuff, but that says more about me than the mod I think.

Thanks for your help.

Welly
__________________
X-Cart Business 5.3.6
Various add-ons

www.traininglines.co.uk
Reply With Quote
  #14  
Old 11-12-2011, 12:21 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: X-Cart popup messages

Since I've been asked few times here is how to make the popup messages to auto close after some time period. In /skin/common_files/js/ajax.add2cart.js and in /skin/common_files/customer/dialog_message.tpl where the mod colorbox code is added add to options

onComplete: function(){ setTimeout($.fn.colorbox.close,5000); },

That will set the auto close to 5 seconds (change the number as needed). Of course you can add to dialog_message.tpl only and it will apply to messages only
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #15  
Old 12-07-2011, 04:22 PM
  tqualizerman's Avatar 
tqualizerman tqualizerman is offline
 

X-Adept
  
Join Date: Jun 2008
Posts: 392
 

Default Re: X-Cart popup messages

Hi Steve,

Is it possible to employ this in place of the native X-Cart log in popup (4.4x)?
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World
- Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com)


X-Cart Version 4.1.10
Reply With Quote
  #16  
Old 12-07-2011, 06:41 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: X-Cart popup messages

No I don't think so. XC uses this http://jqueryui.com/demos/dialog/ and it's way too deep into the core. You can however style the login popup to look like colorbox - it's all css, it may have some js control thought
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #17  
Old 12-07-2011, 07:32 PM
  tqualizerman's Avatar 
tqualizerman tqualizerman is offline
 

X-Adept
  
Join Date: Jun 2008
Posts: 392
 

Default Re: X-Cart popup messages

I'm wondering if it might still be possible to call. For instance, here's how the log in link works (at least from the one page checkout module):

<a title="{$lng.lbl_sign_in|escape}" href="login.php" onclick="javascript: popupOpen('login.php'); return false;">({$lng.lbl_sign_in|lower|escape})</a>

Is there any way to replace popupOpen function with your modules' function?
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World
- Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com)


X-Cart Version 4.1.10
Reply With Quote
  #18  
Old 12-08-2011, 02:21 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: X-Cart popup messages

I have not tried but the problem is not to make it show there the problem will be with the login button to execute properly
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #19  
Old 12-08-2011, 02:28 PM
  tqualizerman's Avatar 
tqualizerman tqualizerman is offline
 

X-Adept
  
Join Date: Jun 2008
Posts: 392
 

Default Re: X-Cart popup messages

I'd be happy to test this, but would need a hint about how to make your module call login.php. Any ideas?
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World
- Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com)


X-Cart Version 4.1.10
Reply With Quote
  #20  
Old 01-14-2012, 11:21 AM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,966
 

Default Re: X-Cart popup messages

Hi Steve,

Will your mod work with:

Phil's new Ability template

and

AJAX options:
Update mini-cart in background on product list and product details pages "Unchecked"

Thanks!

Paul
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



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:24 PM.

   

 
X-Cart forums © 2001-2020