By David on Wednesday, 06 June 2018
Posted in Technical Issues
Likes 0
Views 536
Votes 0
Hi,

I'm just trying to simplify the Easysocial interface for users, and was just wondering - how do I disable Advanced Search?

Cheers

David
Hi there,

You need to do some modification at this path .../components/com_easysocial/themes/wireframe/toolbar/default.php by removing codes below. Please give it a try and see how it goes.

[gist type="php"]
<li>
<a href="<?php echo ESR::search(array('layout' => 'advanced'));?>"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_ADVANCED_SEARCH');?></a>
</li>
[/gist]
·
Wednesday, 06 June 2018 13:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

May i know that you referring to this sections http://take.ms/jLo5a? If yes, you can hide them using css codes below. If not, can you provide us with more details so that we can have a better picture on where you wanted to hide those advanced search. Please advice.

[gist type="css"]
/*hide advance search*/
#es .es-search-advance {
display: none;
}
[/gist]
·
Wednesday, 06 June 2018 12:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Warith, sorry for being vague but the Advanced Search I'm trying to disable is in the drop down menu for users.

See attached
·
Wednesday, 06 June 2018 13:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Warith,

I've been playing with and modifying these default.php overrides for a while. As you're no doubt aware, every time I update one of these files it creates a headache as the next time I need to update the component, there's a chance things will break, as often happens.

If you guys could create ways to allow more granular control of these toolbars this would be very useful and save a lot of time when upgrading.

Cheers, David
·
Wednesday, 06 June 2018 15:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

As you're no doubt aware, every time I update one of these files it creates a headache as the next time I need to update the component, there's a chance things will break, as often happens.

I believe it is because of major update as we have made major changes on the components itself(styling, structures and etc) and might change it structure and those changes done on template override also changed. This changes cannot be avoid anymore and need to changes those overrides also.

Thanks for your understanding.
·
Wednesday, 06 June 2018 15:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Warith,

I'm very aware and appreciate all the work you guys do. The updates are definitely worth the effort!

Cheers, David
·
Wednesday, 06 June 2018 15:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi David,

Thanks for your nice compliments and your understanding.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding
·
Wednesday, 06 June 2018 15:23
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post