JDAhlbom:
Hi,
Im wondering where I could change the default sort order to columnlayout istead of rows?
I've installed the mod and it works great, but the default order is row...?
See: http://demo.utkast.org/index.php?main_page=index&cPath=1_31
To see the column layout you need to choose "Grid" in the dropdownlist.
Where could I change so that column-layout is default?
Best regards.
JDahlbom
Hey JDahlbom,
I just installed this plugin for my ZC1.5, and was looking for solution exactly as your post.
So with no one replied to you, I tried out this this way. The outcome looks good, pls see mysite at gobiztunnel.com
for your reference.
product_listing.php
Change: if (!defined('PRODUCT_LISTING_LAYOUT_STYLE')) define('PRODUCT_LISTING_LAYOUT_STYLE',(isset($_GET['view']) ? $_GET['view'] : 'rows'));
To: if (!defined('PRODUCT_LISTING_LAYOUT_STYLE')) define('PRODUCT_LISTING_LAYOUT_STYLE',(isset($_GET['view']) ? $_GET['view'] : 'columns'));
tpl_index_product_list.php
Change: echo zen_draw_pull_down_menu('view', array(array('id'=>'rows','text'=>'List'),array('id'=>'columns','text'=>'Grid')), (isset($_GET['view']) ? $_GET['view'] : 'rows'), 'onchange="this.form.submit()"');
To: echo zen_draw_pull_down_menu('view', array(array('id'=>'columns','text'=>'Grid'),array('id'=>'rows','text'=>'List')), (isset($_GET['view']) ? $_GET['view'] : 'columns'), 'onchange="this.form.submit()"');
-songseng