Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - FashionMart (SKU# FLEX-00008)

TOPIC: SwitchView, list view in first ?

SwitchView, list view in first ? 11 years 3 months ago #2134

Helooo

Please , i 'would like when the page load, the listview ..

Thanks for your help
Last Edit: 11 years 3 months ago by joan andrew. Reason: mistake
The topic has been locked.

SwitchView, list view in first ? 11 years 3 months ago #2156

Hi,

don't you have it in the layout Dropdown in Virtuemart Configuration?

Attachment Pasted_Image_1_23_13_1_31_PM.gif not found



If no, then it means, you have purchased the template long time ago and your version doesn't include it.
Then you you will need some custom coding changes.

Open this PHP file:
surf-shop-int.re/templates/yoo_bigeasy/html/com_virtuemart/productdetails/default.php

Find these Lines (around 164th)
jQuery(document).ready(function(){         
           			jQuery("a.switch_thumb").toggle(function(){
			  jQuery(this).removeClass("swap"); 
			  jQuery("div.FWThumbBrowseV1").fadeOut("fast"); 
			  jQuery("div.FWListBrowseV1").fadeIn("fast");
			  }, function () {
			  jQuery(this).addClass("swap");
			   jQuery("div.FWListBrowseV1").fadeOut("fast"); 
			  jQuery("div.FWThumbBrowseV1").fadeIn("fast");
			});
 
        });

change it with this:
jQuery(document).ready(function(){         
           			jQuery("a.switch_thumb").toggle(function(){
			  jQuery(this).addClass("swap"); 
			  jQuery("div.FWListBrowseV1").fadeOut("fast"); 
			  jQuery("div.FWThumbBrowseV1").fadeIn("fast");
			  }, function () {
			  jQuery(this).removeClass("swap");
			   jQuery("div.FWThumbBrowseV1").fadeOut("fast"); 
			  jQuery("div.FWListBrowseV1").fadeIn("fast");
			});
 
        });



Then find this line (around 186th):
<a class="switch_thumb swap" href="#switchview"> </a>
and change it with this:
<a class="switch_thumb" href="#switchview"> </a>


find this line (Around 198th):
<div class="FWListBrowseV1"  style="display:none;">

change it with this:
<div class="FWListBrowseV1"  style="display:block;">


and finally find this line (around 167th)
<div class="FWThumbBrowseV1" style="display:block;" >

change it with this:
<div class="FWThumbBrowseV1" style="display:none;" >

You will get what you are looking for.

Regards.
Forum Support.
Last Edit: 11 years 3 months ago by Support.
The topic has been locked.

SwitchView, list view in first ? 11 years 2 months ago #2189

Thanks !!!!!!!!!!!!!!!!!!

Very good support , thanks
The topic has been locked.

SwitchView, list view in first ? 11 years 2 months ago #2218

Your welcome.

I hope this post will be useful to others for those who still using the old version of FashionMart (this feature has been added to new version already).

Case solved. Topic is closed.

Regards.
The topic has been locked.
Time to create page: 0.342 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo