News:

Looking for documentation? Take a look on our wiki

Main Menu

not displaying the search field/ sort by

Started by mobinhan, December 09, 2012, 09:52:54 AM

Previous topic - Next topic

mobinhan

Is it possible not to dsiplay the search fields/ sort by on all pages?

mobinhan

at configuration > configuration> Product order settings

Here i can (de)select the options/fields, but it appears i must select a minimum of 1 selection...

So is it possible to NOT show the search field ?


bytelord

Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

JMG

Quote from: mobinhan on December 13, 2012, 00:36:39 AM
at configuration > configuration> Product order settings

Here i can (de)select the options/fields, but it appears i must select a minimum of 1 selection...

So is it possible to NOT show the search field ?

Same question with version 2.0.16
Please help

jenkinhill

You can hide it using  css or edit the productdetails default template and use an override.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

JMG

I changed this in the file vmsite-ltr.css (lignes 61 to 69):
/* modif  .browse-view h1{font-size:16px;margin:0 0 8px;padding:0;}
.orderby-displaynumber{border-bottom:solid #E9E8E8 1px;border-top:solid #E9E8E8 1px;margin:10px 0;padding:10px 0;}
.orderlistcontainer{font-size:12px;display:inline-block;text-decoration:none;margin:0 15px 0 0;}
.orderlistcontainer div.activeOrder{background:#FFF top right no-repeat url(../images/vmgeneral/arrow_down.png);cursor:pointer;border:solid #CAC9C9 1px;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;font-size:12px;padding:2px 24px 1px 12px;}
.orderlistcontainer a{text-decoration:none;display:block;}
.orderlistcontainer a :hover{text-decoration:none;display:block;color:#EEE;background:#777;}
.orderlistcontainer div.orderlist{display:none;position:absolute;border:solid #CAC9C9 1px;background:#FFF;cursor:pointer;}
.orderlistcontainer div.orderlist div{padding:2px 12px 1px;}
.orderlistcontainer div.orderlist div:hover{color:#EEE;background:#CAC9C9;}*/