View Single Post
  #127  
Old 07-23-2013, 06:37 AM
  soldatov's Avatar 
soldatov soldatov is offline
Moderator
 

X-Cart team
  
Join Date: Apr 2011
Posts: 163
 

Default Re: X-Cart Mobile module released

Quote:
Originally Posted by chamberinternet
Is issue is that updates to the core php and templates have been made.... Any suggestions.


We are currently preparing the upgrade packages for older modules versions.
This can help for such an issues.


Quote:
Originally Posted by chamberinternet
I'm really after the feature from 1.4.0 where the The 'switch view' button is always showing.

Open the 'skin/common_files/modules/Xcart_Mobile/customer/core.js' file.
Find and comment (or remove) the following code:
HTML Code:
$(window).bind('resize pagebeforeshow', function () { var //currentPage = $.mobile.activePage, viewport = { width: $(window).width(), height: $(window).height() } if ((viewport.width >= 1000 || viewport.height >= 1000)) { $('.switch-mobile').css({ 'display': 'block' }); } else { $('.switch-mobile').hide(); }

Then open the 'skin/common_files/modules/Xcart_Mobile/css/main.css' file and set the 'display' property to 'block' here:
HTML Code:
/* Switch mobile view button */ .ui-footer > .ui-btn.switch-mobile, .switch-mobile { display: none; }
Reply With Quote