MyBB Community Forums

Full Version: Adding message under search
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I would like some help on adding a message under the search.

From this...
[Image: 5zfp8p.jpg]

To this...
[Image: 2qd5owl.jpg]

I am sure its in the search template somewhere? But how to add it without messing things up?
I did see the {$lang->search_entire_post} in the template. Message must go above that.

</tr>
<tr>
<td>
<span class="smalltext"><input type="radio" class="radio" name="postthread" value="1" checked="checked" />{$lang->search_entire_post}<br /><input type="radio" class="radio" name="postthread" value="2" />{$lang->search_titles_only}</span></td>
</tr></table>
</td>
<td class="trow1">
<table><tr>

Thanks guys Smile
Update, this worked.

</tr>
<tr>
<td>
For faster search, "search titles only"<br />
<span class="smalltext"><input type="radio" class="radio" name="postthread" value="1" checked="checked" />{$lang->search_entire_post}<br /><input type="radio" class="radio" name="postthread" value="2" />{$lang->search_titles_only}</span></td>
</tr></table>
</td>

[Image: 1zxnw9v.jpg]

Now i need to know if its ok... or should i change/add something?
I would also like to change the text size of the message. Don't know how.
To change your text properties then just add another <span> section around your text like this :

Quote:</tr>
<tr>
<td>
<span style="font-size:12pt;color:#ffff00;">For faster search, "search titles only"</span><br />
<span class="smalltext"><input type="radio" class="radio" name="postthread" value="1" checked="checked" />{$lang->search_entire_post}<br /><input type="radio" class="radio" name="postthread" value="2" />{$lang->search_titles_only}</span></td>
</tr></table>
</td>
Awesome exdiogene, worked like a charm.

Thank you!