News:

Join the Facebook Fan Page.

Main Menu

how do i

Started by malicious1, September 22, 2005, 10:44:12 AM

Previous topic - Next topic

malicious1

remove the search bar?
thanks

dtm.exe

Find and remove the following code:

<form action="', $scripturl, '?action=search2" method="post" style="margin: 0; margin-top: 7px;">
<b>', $txt[182], ': </b><input type="text" name="search" value="" style="width: 190px;" />&nbsp;
<input type="submit" name="submit" value="', $txt[182], '" style="width: 8ex;" />&nbsp;
<a href="', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a>
<input type="hidden" name="advanced" value="0" />';

// If we're on a certain board, limit it to this board ;).
if (!empty($context['current_board']))
echo '
<input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />';

echo '
</form>

malicious1

man you guys are quick. Also where do I go to play with the width of the forum?

Deaks

im taking guess with 2 places depending on how want to change width, either go to index.template.php or style.css, im pretty sure its more index.template.php though
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

dtm.exe

Quote from: malicious1 on September 22, 2005, 10:55:08 AM
man you guys are quick. Also where do I go to play with the width of the forum?

It's been mentioned before.  Try searching :).  I think its a div right before or after <body> in index.template.php.

Advertisement: