
Originally Posted by
songseng
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
Bookmarks