View Single Post
  #679  
Old 10-21-2012, 10:19 PM
  Mr. G's Avatar 
Mr. G Mr. G is offline
 

eXpert
  
Join Date: Nov 2010
Posts: 386
 

Default Re: X-Cart Smart Template v4.4.x

Quote:
Originally Posted by PhilJ
Try clearing your cookies also, or specifically the cookie named "view_Layout".
Quote:
Originally Posted by Mr. G
Yep that did it. Thanks. During dev testing I've always just done cleanup.php, cleared browser cache and refreshed browser and that would show changes. So this is a first (that I can remember) that this was necessary. I'll start clearing cookies from now on, too.
On both FF 16.01 and Chrome for Win7, navigating to my home page shows the row layout for an instant before showing grid. This slows page render time down. The delay is even worse on a smartphone. Google penalizes slow page load times in search engine ranking.

Since I know you're very busy, I paid Steve with CFL Systems to take a look. He wrote: "The layout switch does happen in switch_layout.js and it is read/ran after page load. There is also init.php which I suspect plays a role, but it is encrypted so nothing I can do there. Like I said - this is how this skin works - all layout dynamic changes are done with js/jQuery scripts which run after page is loaded os all elements are accessible."

Anything I can do to get the grid layout to load first and only? Please help. Thank you.
__________________
4.7.6 Gold Plus
XCartMods.co.uk Ultra Template
X-Cart Abandoned Cart
BCSE PayPal DPM
CDSEO Pro 2.1.8
BCSE Drop Shipper Pro
Google Rich Snippets
Time and money-saving tips I've learned as a webstore owner at http://ShoppingCart-Program.com
Reply With Quote