Disable Contacts Search Field

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
jross
Joomla! Intern
Joomla! Intern
Posts: 85
Joined: Sun Apr 09, 2006 6:42 am
Location: Melbourne, Australia

Disable Contacts Search Field

Postby jross » Fri Jul 14, 2017 5:34 pm

Hi, I am developing a J3.7.3 site and on the page displaying a contact category list, I want to disable the Contact Filter Search.
I have gone into Contacts/Options and disabled in List Layouts both Filter Field and Display Select. I have also disabled these two options in the menu item created for the page displaying the contacts. I have also cleared my browser cache.
Despite all this, the Contact Filter Search field is still displaying!
Can anybody suggest how to get rid of this filed?
Thanks in advance.
JR

User avatar
syhussaini
Joomla! Explorer
Joomla! Explorer
Posts: 384
Joined: Sat Jan 03, 2009 2:20 pm
Location: Hyderabad-India
Contact:

Re: Disable Contacts Search Field

Postby syhussaini » Sat Jul 15, 2017 7:05 am

JR,

Disable the plugin "Search - Contacts" under "Extensions > Plugins". This should get it done.

Hope this helps.
Thanks & Warm Regards
Syed H
http://MyBloggingHelp.com

jross
Joomla! Intern
Joomla! Intern
Posts: 85
Joined: Sun Apr 09, 2006 6:42 am
Location: Melbourne, Australia

Re: Disable Contacts Search Field

Postby jross » Sat Jul 15, 2017 3:42 pm

Thanks for the suggestion but unbelievably, that didn't work either! I even viewed the page in Microsoft Edge, a browser I never use to make sure it wasn't a cache issue.
Any other suggestions?
Thanks, JR

User avatar
syhussaini
Joomla! Explorer
Joomla! Explorer
Posts: 384
Joined: Sat Jan 03, 2009 2:20 pm
Location: Hyderabad-India
Contact:

Re: Disable Contacts Search Field

Postby syhussaini » Sat Jul 15, 2017 5:56 pm

JR,

For the Cache, I would recommend you to clear the Cache from the System Menu under admin area of your site. Post that when you load your website press CTRL+F5 on your keyboard.

Hope this helps.
Thanks & Warm Regards
Syed H
http://MyBloggingHelp.com

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 17787
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Disable Contacts Search Field

Postby leolam » Sun Jul 16, 2017 3:19 am

As Syed states this can only be a caching issue or that the Smart Search is enabled and has indexed the search results including the contacts. Just clear in that case the Smart Search index and re-index afterwards.

Leo 8)
- Joomla Professional Support Services :https://gws-desk.com -
- Joomla Specialized Hosting Solutions:https://gws-host.com -
- Joomla Professional Web Development :www.gws-studio.com -
- Member Joomla Bug Squad & J-CMS Release Team

jross
Joomla! Intern
Joomla! Intern
Posts: 85
Joined: Sun Apr 09, 2006 6:42 am
Location: Melbourne, Australia

Re: Disable Contacts Search Field

Postby jross » Sun Jul 16, 2017 9:32 am

Thanks for that. I have disabled all smart search plugins, cleared all browser and site cache, cleared the smart search index, double checked that relevant menu and contact Options have in List Layouts have the Filter Field and Display Select set to Hide.
What else can it be?
The page links are
http://halcyondaze.com/bysclone/index.p ... /bys-staff
http://halcyondaze.com/bysclone/index.p ... -committee
Any other suggestions would be appreciated.
JR

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 11376
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Disable Contacts Search Field

Postby brian » Sun Jul 16, 2017 7:35 pm

I am sorry that you have received such terrible advice. The filter is NOTHING to do with smart search or with caching.

Its a very simple problem and its your template. It would appear that your template has an override for the view and instead of checking to see if the setting is enabled for the search filter it is displaying it without a check.

I confirmed this by viewing your site with the default protostar template where it correctly does not display the search filter on the contact page.
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 17787
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Disable Contacts Search Field

Postby leolam » Mon Jul 17, 2017 3:41 am

brian wrote:I am sorry that you have received such terrible advice.
The forum rules state that you need to be
be courteous at all times. Constructive criticism is welcome.
This is not constructive, it is degenerating which is against the forum rules.

With no access to a site people in these forums who are helping others can only eliminate possible causes (often one by one) It is not for others to qualify or quantify or provide moral or technical judgement of these support efforts by fellow forum users.

Leo 8)
- Joomla Professional Support Services :https://gws-desk.com -
- Joomla Specialized Hosting Solutions:https://gws-host.com -
- Joomla Professional Web Development :www.gws-studio.com -
- Member Joomla Bug Squad & J-CMS Release Team

User avatar
syhussaini
Joomla! Explorer
Joomla! Explorer
Posts: 384
Joined: Sat Jan 03, 2009 2:20 pm
Location: Hyderabad-India
Contact:

Re: Disable Contacts Search Field

Postby syhussaini » Mon Jul 17, 2017 7:21 am

leolam wrote:The forum rules state that you need to be courteous at all times. Constructive criticism is welcome. This is not constructive, it is degenerating which is against the forum rules.


I completely agree with Leo. We are here to help selflessly and hence should keep basic etiquettes and line of respect for each other.
Thanks & Warm Regards
Syed H
http://MyBloggingHelp.com

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 11376
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Disable Contacts Search Field

Postby brian » Mon Jul 17, 2017 8:15 am

Terrible advice is a fact not an opinion

The original question is nothing to do with search filters - anyone familiar with Joomla should have known that.
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
sozzled
Joomla! Hero
Joomla! Hero
Posts: 2741
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia
Contact:

Re: Disable Contacts Search Field

Postby sozzled » Mon Jul 17, 2017 9:23 am

I've followed this topic from afar over the past couple of days and I've learnt a few things.

When someone has exhausted all attempts to resolve their problems and asks "do you have any other suggestions" we, more "experienced" community members, try to discount "the obvious": we adopt the all-things-being-equal-this-should-work-approach first. Sometimes that works and sometimes it doesn't.

This topic reminds me of the song Little Boxes—a ditty that's been described as "most sanctimonious song ever written". When someone gives an all-things-being-equal-this-should-work-idea, and they're later proven wrong (because all things are not equal), that's just c'est la vie.

We all know that that all things are not equal; not all Joomla templates are equal. We're well aware that there are dodgy, dysfunctional extensions that don't follow the rules.

We're also mindful (when our advice is proven to be inappropriate in the particular circumstances) we've taken a risk that we may be in for a bit of social commentary. C'est la vie. I've been wrong many times; I'm prepared to admit that, sometimes, I deserve a bit of public flogging.

I often disagree with @Leo—but that's OK because he often disagrees with me, too—but I generally defer to his broader experience. @brian and I often disagree, too, especially about football and cricket; but that's also OK because he's a Pom and I'm an Aussie and that's what we're supposed to do! :D I also usually defer to @brian's extensive in-depth Joomla expertise.

It's unfortunate, however, that @Leo's and @brian's good reputations are not enhanced by some of their personal characterisations; it does not edify either person to air their differences the way they've expressed themselves and it's probably better to discuss those differences privately/off-line.

As for the suggestion that "terrible advice is a fact and not an opinion", I cannot I agree with that as an absolute, undeniable and unqualified truth. Inappropriate advice is bad advice—and it may have terrible consequences—I agree but it depends on what we know about the individual circumstances. If I were to say that someone should go jump off a cliff then, I expect, most people would [rightly] say that's terrible advice. If, on the other hand, I were to suggest that half the world's leaders should go jump off a cliff then I expect I'd have few admirers, hmm? 8)
https://www.kuneze.com/blog
Former member of Kunena project team
If you think I’m wrong then say “I think you're wrong.” If you say “You’re wrong!”, how do you know?

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 17787
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Disable Contacts Search Field

Postby leolam » Mon Jul 17, 2017 3:46 pm

@Brian,

"Terrible advice is a fact not an opinion" Fact stated by WHOM? ... with what credentials to judge? Being a "founder father" does not give one special credits nor does it give that person credibility...

I repeat: "With no access to a site people in these forums who are helping others can only eliminate possible causes (often one by one) It is not for others to qualify or quantify or provide moral or technical judgement of these support efforts by fellow forum users."
anyone familiar with Joomla should have known that
Pure arrogance and a BS reply

Leo 8)
Last edited by leolam on Mon Jul 17, 2017 4:16 pm, edited 3 times in total.
- Joomla Professional Support Services :https://gws-desk.com -
- Joomla Specialized Hosting Solutions:https://gws-host.com -
- Joomla Professional Web Development :www.gws-studio.com -
- Member Joomla Bug Squad & J-CMS Release Team

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 17787
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Disable Contacts Search Field

Postby leolam » Mon Jul 17, 2017 4:02 pm

btw @jross happy for you that Brian discovered the issue for you (I did not think of a possible template override so cool). That should help to resolve this! Nice finding Brian.

Leo 8)
- Joomla Professional Support Services :https://gws-desk.com -
- Joomla Specialized Hosting Solutions:https://gws-host.com -
- Joomla Professional Web Development :www.gws-studio.com -
- Member Joomla Bug Squad & J-CMS Release Team

jross
Joomla! Intern
Joomla! Intern
Posts: 85
Joined: Sun Apr 09, 2006 6:42 am
Location: Melbourne, Australia

Re: Disable Contacts Search Field

Postby jross » Mon Jul 17, 2017 4:49 pm

Sorry to have set off such a can of worms but just happy to know what is causing my issue. Having tried everything under the sun that it may have been, the reason for the problem has come from left field.
Putting aside the politics, I assume it would require some custom coding of the template to overcome this?
It's the JA Alumni template from Joomlart. I suppose they are my next port of call.
Thanks everyone for your input and assistance.
JR

User avatar
sozzled
Joomla! Hero
Joomla! Hero
Posts: 2741
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia
Contact:

Re: Disable Contacts Search Field

Postby sozzled » Mon Jul 17, 2017 10:21 pm

jross wrote:Sorry to have set off such a can of worms but just happy to know what is causing my issue.
Put your mind at ease: this is not normal behaviour from these guys :laugh:

jross wrote:I assume it [my fix] would require some custom coding of the template to overcome this? It's the JA Alumni template from Joomlart. I suppose they are my next port of call.
Yes, that would be a good idea. There are a couple of ways you, yourself, could locate where and how the search textbox is being generated and why it's not honouring the settings you've used elsewhere. One way to locate this yourself is to copy the entire contents of the ../templates/ja_alumni folder (or whatever it's called) to your PC and use a contextual search app to locate where

Code: Select all

input id="filter-search" class="inputbox form-control" name="filter-search" ... title="Contact Filter Search" placeholder="Contact Filter Search" type="text"
occurs.

When you've found which file contains that particular reference, you could comment-out the lines of code and replace the original file on the server with the modified version. A word of caution: before you replace the current file on the server, rename it to something.old first; that way, if you make a mess of things, you still have the original file that you can put back into operation with a simple file renaming.

It's probably a good idea to report this issue to JoomlArt, anyway. ;)
https://www.kuneze.com/blog
Former member of Kunena project team
If you think I’m wrong then say “I think you're wrong.” If you say “You’re wrong!”, how do you know?


Return to “Administration Joomla! 3.x”

Who is online

Users browsing this forum: No registered users and 10 guests