Post by matthewtimothy » Sat Sep 15, 2012 1:14 am

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>

Active Member

Posts

Joined
Thu Nov 10, 2011 6:39 am

Post by anung » Sat Sep 15, 2012 3:17 am


User avatar
Active Member

Posts

Joined
Fri Mar 30, 2012 10:32 am
Location - Indonesia
Who is online

Users browsing this forum: No registered users and 16 guests