My Template Improvement to Search from Anywhere

My Template Improvement to Search from Anywhere

Postby onlinesolutions » Wed Oct 17, 2007 8:51 pm

I use the search feature a lot in the Webmail service to find emails.
I got tired of clicking on Search and the extra delay, so after some experimenting,
I came up with the following change to put the search form on almost
every page in the webmail interface.

For the record, I am using AMS 2.60.
1) Go to your enhanced template folder and make a backup copy of part_all_pagetop.txt.
2) Edit part_all_pagetop.txt
2) Find the table with 7 cells for the main menu options across the top of webmail.
3) Add a table row above it with the following code :

<tr><td colspan="7" align="center" valign="middle" nowrap>
<form name="theform2" method="post" action="/_processsearch?id=####ID####">
<font color="#BBBBBB">Search for</font> <input type="text" name="searchtext" tabindex="1" style="width: 150"><font color="#BBBBBB"> in </font>
<select name="searchmode" style="width: 150">
<option value="all" selected>Entire Mail</option>
<option value="header">Mail Header</option>
<option value="subject">Subject Only</option>
</select>
<input type="submit" name="buttonsearch" value="Search" style="width: 100">
</form>
</td></tr>

4) Test the life out of it, and don't blame me if it doesn't work for you. It works great for me.

Have fun,
Scott Lynn
Online Solutions
onlinesolutions
 
Posts: 1
Joined: Wed Oct 17, 2007 8:40 pm

Re: My Template Improvement to Search from Anywhere

Postby rob » Fri Oct 19, 2007 10:32 am

Excellent idea!
rob
 
Posts: 415
Joined: Mon Sep 10, 2007 2:34 pm


Return to General

Who is online

Users browsing this forum: No registered users and 27 guests

cron