Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

remove search in community toolbar

10 years 1 month ago
  • Susan's Avatar
    Topic Author
  • Susan
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 20
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired Socialize Expired

ISSUE SUMMARY:
How can we remove the search bar in the community tool bar?

STEPS TO REPLICATE:
1
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER

10 years 1 month ago
Licenses:

Hi, Susan.

Copy this file:

ROOT/modules/mod_community_toolbar/tmpl/default.php

to:

ROOT/templates/your-template/html/mod_community_toolbar (if you don't have any of those folders, feel free to create them)

Then edit file and remove this (line 58-68):

<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');?>">
				<div class="form-group form-group--search">
					<input type="text" class="form-control" placeholder="Search" id="keyword" name="q">
				</div>
				<button type="submit" class="btn btn-default">
					<span class="glyphicon glyphicon-search"></span>
				</button>

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


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
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