Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

Change the search module in community toolbar.

9 years 9 months ago
  • Marcos's Avatar
    Topic Author
  • Marcos
  • Offline
  • Junior Boarder
  • Posts: 182
  • Thank you received: 5
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi,

How can I change the search module used in the community toolbar?

Thanks,

Marcos

9 years 9 months ago
Licenses:
JomSocial Expired GURU Expired Publisher Expired AdAgency Expired iSEO Expired Socialize Expired

Hi Marcos Paulino,
I am not cleared about your requirement.
If you want to remove the search box then go to
root/modules/mod_community_toolbar/tmpl/default.php
and remove the code

<li>
				    		<form class="toolbar-search visible-desktop" name="search" id="cFormSearch" method="get" action="<?php echo CRoute::_('index.php?option=com_community&view=search');?>">
								<div class="input-append input-block-level">
									<input type="text" id="keyword" name="q" />
									<a class="btn" href="javascript:void(0);" onclick="joms.jQuery('#cFormSearch').submit();">
										<i class="fa fa-search"></i>
									</a>
								</div>

								<input type="hidden" name="option" value="com_community" />
								<input type="hidden" name="view" value="search" />
							</form>
							</li>
Thanks

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW