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
  #61  
Old 02-27-2013, 01:33 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,195
 

Default Re: X-Cart popup messages

Quote:
Originally Posted by carpeperdiem
Steve,

It looks like X-Cart made one minor change to /skin/common_files/customer/dialog_message.tpl for version 4.5.5

(change in red)

4.5.4:
Code:
{if $top_message.no_close eq ""} <a href="{$smarty.server.PHP_SELF}?{$smarty.server.QUERY_STRING|amp}" class="close-link" onclick="javascript: document.getElementById('dialog-message').style.display = 'none'; return false;"><img src="{$ImagesDir}/spacer.gif" alt="{$lng.lbl_close|escape}" class="close-img" /></a> {/if}

4.5.5
Code:
{if $top_message.no_close eq ""} <a href="{$smarty.server.PHP_SELF|escape}?{$php_url.query_string|escape}" class="close-link" onclick="javascript: document.getElementById('dialog-message').style.display = 'none'; return false;"><img src="{$ImagesDir}/spacer.gif" alt="{$lng.lbl_close|escape}" class="close-img" /></a> {/if}

But if we are using your file, that shouldn't matter at all, since your code replaces xcart's file in its entirety, correct?

Have you tested System Messages for X-Cart w/ 4.5.5 yet? Anything we need to know? FYI, I am NOT using the add-to-cart feature, only the system warnings.

Thanks,

J

The change it red is what the new security patch recently rleeased does as well so nothing to be concerned about. And yes - the file from the mod does not have this so no worries there either.
The mod still works ok in 4.5.5, I have not seen any issues. Also for any 4.5.x version the added to cart popup can be skipped or the "add to cart" module in XC shoudl be turned off
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
carpeperdiem (02-27-2013)
  #62  
Old 02-27-2013, 04:02 PM
 
designguru designguru is offline
 

X-Adept
  
Join Date: Dec 2010
Posts: 418
 

Thumbs up Re: X-Cart popup messages

Just installed the mod today and adjusted to taste! It looks so slick and clean compared to the standard XC messages. Well worth the bucks!
__________________
X-Cart Pro 4.6.2 with many modules
X-CART Pro 4.4.1
Reply With Quote
  #63  
Old 04-18-2013, 08:45 AM
  tqualizerman's Avatar 
tqualizerman tqualizerman is offline
 

X-Adept
  
Join Date: Jun 2008
Posts: 392
 

Default Re: X-Cart popup messages

Can this module be made to bring up the 'Send to Friend' form in a popup?
__________________
- 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
  #64  
Old 04-19-2013, 08:28 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,195
 

Default Re: X-Cart popup messages

Since send to friend outputs smarty template you can load it in the popup yes but this is more of a making the send to friend being a popup instead of loading on the page
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #65  
Old 04-19-2013, 10:26 AM
  tqualizerman's Avatar 
tqualizerman tqualizerman is offline
 

X-Adept
  
Join Date: Jun 2008
Posts: 392
 

Default Re: X-Cart popup messages

Hi Steve,

Could you tell me how to invoke the popup window if I wanted to place a link on product.tpl that would trigger it (and then load another .tpl file inside?)
__________________
- 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
  #66  
Old 04-19-2013, 04:43 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,195
 

Default Re: X-Cart popup messages

The send to friend is not written to be a popup to begin with. This is a whole new project as the send to friend php script has to be re-written to do that.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #67  
Old 04-19-2013, 04:54 PM
  tqualizerman's Avatar 
tqualizerman tqualizerman is offline
 

X-Adept
  
Join Date: Jun 2008
Posts: 392
 

Default Re: X-Cart popup messages

OK. Let's say I had another use for to invoke the popup though, is there a standard way with this addon?
__________________
- 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
  #68  
Old 04-19-2013, 05:04 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,195
 

Default Re: X-Cart popup messages

The mod uses standard colorbox - http://www.jacklmoore.com/colorbox/- so there are few ways depending on contents; the mod uses href="#ID" and auto open since it is on page load but if you want it on click you just need to something like

$("ELEMENT CLASS or ID").colorbox();
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #69  
Old 06-07-2013, 02:01 PM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default Re: X-Cart popup messages

Question...

Towards the end of the install instructions you have:
Add following css classes

Which file does this get added to?

I am using a custom skin as well.
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
  #70  
Old 06-08-2013, 07:40 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,195
 

Default Re: X-Cart popup messages

To the css file loading on customer side, for stock XC is skin/common_files/css/main.css or skin/your_skin/css/altskin.css. For custom skin it will depend on the skin - whatever css file skin loads or again you can use skin/common_files/css/main.css if it is being loaded
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
Vacman (06-08-2013)
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 06:17 PM.

   

 
X-Cart forums © 2001-2020