Feminist SF Wiki:Sidebar search: Difference between revisions

From Feminist SF Wiki
Jump to navigation Jump to search
m (Reverted edits by 216.93.253.130 (Talk); changed back to last version by Lquilter)
No edit summary
Line 19: Line 19:
      <input type='submit' name="go" class="searchButton" id="searchGoButton"
      <input type='submit' name="go" class="searchButton" id="searchGoButton"
        value="<?php $this->msg('go') ?>"
        value="<?php $this->msg('go') ?>"
        />&nbsp;<input type='submit' name="fulltext"
        />
        class="searchButton"
        value="<?php $this->msg('search') ?>" />
    </form>
  </div>
</div>
</pre>
 
* Move it either up or down in the page code, depending on where you want it positioned.
 
* A good place to put the search box is just below the logo. To do this, move or copy the above code directly '''below''' where you find the following:
<pre>
<div class="portlet" id="p-logo">
  <a style="background-image: url(<?php $this->text('logopath') ?>);"
    href="<?php echo htmlspecialchars($this->data['nav_urls']['mainpage']['href'])?>"
    title="<?php $this->msg('mainpage') ?>"></a>
</div>
</pre>
 
[[Category:FSFwiki administration]]

Revision as of 10:12, 1 September 2007

Copied from http://meta.wikimedia.org/wiki/Layout_customization#Customizing_the_page_layout on 2007/1/4

How do I move the location of the search box?

This is for the Monobook theme and involves modifying the Monobook.php file - you can see the effect here.

  • In the shell account with the install files, find and select the following code in skins/MonoBook.php: