iionly / minimal_hide_search
This little plugin hides the search box from people not logged-in.
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:elgg-plugin
Requires
- composer/installers: >=1.0.8
Conflicts
- elgg/elgg: <4.0
README
Latest Version: 4.0.0
Released: 2022-01-23
Contact: iionly@gmx.de
License: GNU General Public License version 2
Copyright: (c) iionly 2012
Description
This plugin hides the search box in the topbar from site visitors who are not logged-in. Before Elgg 3 this was done by just unextending the search/header view from the page/elements/header view of Elgg core in there's no logged-in user. On Elgg 3 it no longer works this way. Instead it's now necessary to override the search/search_box view of the bundled search plugin and prevent output of the search box if no logged-in user is found.
Install instructions
- If you have a previous version of the Minimal Hide Search plugin installed, disable it and then remove the plugin folder from your mod directory before copying the new version on the server,
- Copy the plugin folder in your mod directory,
- Enable the plugin in the admin section of your site.