Toolbar Search in latest version 4.3.0 not displaying any results when member is searched
To reproduce
Login to site
Search for a memer "Lee " for example or any other member and the results page does not find any results.
The previous version worked well and the toolbar search worked and displayedresults
The search icon in "Mini toolbar" on main jomsocial page works and displays members, it is just the toolbar search that does not display results properly.
Hi Lee,
Oh ya, this is valid bug..
thank you for leading me the correct point :)
I hope next week, since most of our developers are on vacation right now.. but I will provide you the fix once it done..
Hi,
I have same problem
Member Search:
creoenecuador.com/index.php/search/advancesearch
-> Error 404
View all members:
creoenecuador.com/index.php/search/browse
-> Error 404
When is going to be fixed?
Regards,
Patricio
Hi Azri,
To fix this issue, please you open this file modules/mod_community_toolbar/tmpl/default.php, find this code :
<form class="navbar-form navbar-left" role="search" name="search" id="cFormSearch" method="get" action="<?php echo CRoute::_('index.php?option=com_community&view=search&task=display');?>">
<form class="navbar-form form-inline visible-xs" role="search" name="search" id="cFormSearch" method="post" action="<?php echo CRoute::_('index.php?option=com_community&view=search&task=advancesearch');?>">
<input type="hidden" name="option" value="com_community" />
<input type="hidden" name="view" value="search" />
<input type="hidden" name="search" value="friends" />
Hi Dimas, in that file you say to open, I have found two instances of
<input type="hidden" name="option" value="com_community" />
<input type="hidden" name="view" value="search" />
Anyway, I have tried editing but it makes the search bar disappear.
Thanks
Yes please delete both of them.. please edit it carefully, it should work fine :)
I assume this topic relates to toolbar module of socialize template.
I can confirm that after update to JS 4.3 the search function of the sozialize toolbar doesn't work anymore. Search takes me to page "advanced search", instead of delivering search result.
And I also can confirm that the search field completely disappeared after applying this fix.
Cheers
Randolph
Hi Randolph,
For quick fix you can follow this reply
www.jomsocial.com/forum/installation/361...opped-working#173100
thank you!
so, just to make sure you are saying that we need to download a new release? and reinstall socialize and all plugins and modules right?
Because I have just done that, the issue still persists, maybe I should follow your earlier advice about modifying the code?
Thanks
Hi Lee,
Please try with this one
- download my file here
www.dropbox.com/s/vh87uy0gfz7ht48/default.php?dl=0
- copy it to modules/mod_community_toolbar/tmpl/ and make sure you not override the jomsocial toolbar module, because the path will be different :)
- upgrade the socialize package if you still use the old one, because if you used the old one the layout will bit missed
thank you!