View Single Post
  #61  
Old 02-27-2013, 01:33 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

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