OSAS / strapping-mediawiki

base skin for MediaWiki, based on Bootstrap — layer your own style (fonts, graphics, color) on top
Other
146 stars 35 forks source link

Add Search box to "Sidebar" #37

Open sheets opened 11 years ago

sheets commented 11 years ago

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

garrett commented 11 years ago

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!)