i literally tried everything i could find, including the vqmod extension for it. and this script for the footer.tpl was the only one that worked. thanks so much for this.cryoutcreations wrote:I think the easiest mod to make grid default (until it will be included as an option in the admin) is to addin the theme's footer.tpl.Code: Select all
<script type="text/javascript">$(document).ready(function() { if(typeof display == 'function') { display('grid'); } });</script>
It is safe to use as it checks if the function is defined before calling it, so the browser doesn't spit out a javascript error on pages without products on them.
i do see a touch of lag before it auto-swaps to grid, but it's not a big deal (yet, anyway). i still find it fairly amazing that there's no list-grid default switcher in the admin. that should have been in there for years.