Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Add Search box to "Sidebar" #37

Open
sheets opened this issue Jul 18, 2013 · 1 comment
Open

Add Search box to "Sidebar" #37

sheets opened this issue Jul 18, 2013 · 1 comment

Comments

@sheets
Copy link

sheets commented Jul 18, 2013

Unless I am missing something the theme's only search box only shows when signed in?

@garrett
Copy link
Contributor

garrett commented Jul 19, 2013

You can modify the location of where you'd like the search entry in one of three places by changing $wgSearchPlacement in LocalSettings.php. Here's the default, if the variable is not set:

$wgSearchPlacement['header'] = true;
$wgSearchPlacement['nav'] = false;
$wgSearchPlacement['footer'] = false;

If you want it in the footer (for example), in LocalSettings.php, just set:

$wgSearchPlacement['footer'] = true;

(I thought this was documented in the README file, but apparently not. I should fix that oversight. Sorry!)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants