Menu Content

Currencies Accepted


Shopping Cart

cart
Your Cart is currently empty.

How to Download A Product

For most of our products, including the free ones, you will need to go through checkout and place an order.

Read More

 

Find Us Elsewhere

Follow us on Twitter

Spiral Scripts on Facebook

rapidssl_ssl_certificate
2Checkout.com is a worldwide leader in payment services

Google ads

Home » Forum

Welcome, Guest

How to hide the switch view panel
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: How to hide the switch view panel

How to hide the switch view panel 1 year ago #239

How to hide the switch view panel in featured product grid?
I don't want the user switch view. I want the grid view was the only view in my store.

Re: How to hide the switch view panel 1 year ago #240

Hello,

the easiest thing is probably to just hide the switch using css. You can edit the module file assets/gallery.css, change

span.clsSwitch {
color:#666666;
background-color:#cccccc;
font-size:1.1em;
padding:4px;
}


to

span.clsSwitch {
color:#666666;
background-color:#cccccc;
font-size:1.1em;
padding:4px;
display: none;
}

Re: How to hide the switch view panel 1 year ago #252

Thank You, but this solution resolved my problem in a half way. After this I still see small images to switch view (Img1, Img2). In google chrome browser I see two images to switch view, but in Mozilla firefox I see only one of this. See attachment. What shoul I do?
Attachments:

Re: How to hide the switch view panel 1 year ago #253

Your web browser may be caching the stylesheet, you should clear the cache for Google chrome (use the menu option tools->clear browing data)

Re: How to hide the switch view panel 1 year ago #254

No It's not brawser cache.
Is see that solution in css display:none; in span.clsSwitch{} don't hide the code

<img id="Img2" name="Img1" class="view" src="<?php echo $baseurl."modules/mod_virtuemart_featureprodgrid/assets/pro_img2_normal.jpg"; ?> 
in module/tmpl/default.php

Re: How to hide the switch view panel 12 months ago #257

Nevertheless you are making a mistake somewhere, the code for the buttons is contained in the span tag with the class clsSwitch, giving it a css style of display:none will hide it without a doubt.

If for some reason you cannot make it work you can try deleting the code on lines 4-6 from the template entirely.

<span class="clsSwitch">Switch View <a href="javasc*ript:showGrid('<?php echo $uniqid; ?>','gridview','listview');" title="Grid View"><img id="Img1" name="Img2" class="view" src="<?php
echo $baseurl."modules/mod_virtuemart_featureprodgrid/assets/pro_img1gallery.jpg"; ?>" width="15" height="13"/>
</a><a href="javasc*ript:showGrid('<?php echo $uniqid; ?>','listview','gridview');" title="List View"><img id="Img2" name="Img1" class="view" src="<?php echo $baseurl."modules/mod_virtuemart_featureprodgrid/assets/pro_img2_normal.jpg"; ?>"/></a></span><br /><br />
  • Page:
  • 1
Time to create page: 0.79 seconds
 
 

VirtueMart Featured Products Grid

Switch View

This module displays a short excerpt from articles in a selected category or section, or from a specified list of articles, with link and optional thumbnail image.

£12.00


A module desgined exclusively for the Cobalt CCK. It displays selected Cobalt fields in a variety of layouts, including default list, horizontal list, thumbnails, accordion, tab pane, rotator, and highlighter.

£20.00


A module extension for the the Joomla CMS. It plays a random list of mp3s using the Flash media player.

£12.00
This module can be used as a replacement for the Virtuemart featured products, top products, random products or recent products modules. It displays product images as a 3 Dimensional Flash slideshow.

£15.00