View Single Post
  #49  
Old 01-08-2014, 10:49 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: X-Cart 4.6.1 released

Socialize module bug

home.tpl has this code
Code:
{if $config.Socialize.soc_fb_like_enabled eq "Y" or $config.Socialize.soc_fb_send_enabled eq "Y"} <div id="fb-root"></div> {/if}

even if you have the Socialize module OFF this still runs and places code on every page - the settings for the module are set to ON by default. It should be

Code:
{if $active_modules.Socialize and ($config.Socialize.soc_fb_like_enabled eq "Y" or $config.Socialize.soc_fb_send_enabled eq "Y")} <div id="fb-root"></div> {/if}
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote