Page 1 of 1

template view

Posted: Sat Sep 15, 2012 1:14 am
by matthewtimothy
I was searching for a way to alter the grid view and ran across a lot of code changed but I didnt see if the changes took place in the default theme or the custom theme. Wouldnt it also be based on how it was coded?? Im starting to learn how to make my own theme so my apologies if this question has been answered but I did not find it

category.tpl

Code: Select all

view = $.cookie('display');

if (view) {
   display(view);
} else {
   display('list');
}
permanent??

Code: Select all

<script type="text/javascript">$(document).ready(function() { if(typeof display == 'function') { display('grid'); } });</script>

Re: template view

Posted: Sat Sep 15, 2012 3:17 am
by anung