• Add Search button to home page

    By Lars Althof 1 decade ago

    We recently deployed this database on our network, and the first thing that was requested was to be able to search right from the home page.

    • Add Search to Home page

      By John L Hawkins 1 decade ago

      We had the same request, and added a Search button by putting another table cell in the middle of the row that has Home and Login links. See http://my.advisor.com/AdvForumIT.nsf. Like this:



      <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>

      <TR HEIGHT=26 ALIGN=MIDDLE>

      &lt;TD ALIGN=LEFT CLASS=&quot;path&quot;&gt;{&lt;IMG SRC=&quot;icon_home.gif&quot; border=0&gt;{SCRIPT}document.write(text_home+' : '+document.title){/SCRIPT} &lt;/TD&gt;<br/>
      


      &lt;td class=&quot;docactions&quot; align=&quot;center&quot; nowrap&gt;&lt;img src=&quot;ui_search.gif&quot; border=&quot;0&quot;&gt;&amp;nbsp;{SCRIPT}document.write(text_search){/SCRIPT}&lt;/td&gt;<br/>
      


      &lt;TD ALIGN=RIGHT valign=middle class=&quot;login&quot;&gt;&lt;Computed Value&gt;&amp;nbsp;&lt;/TD&gt;<br/>
      

      </TR>

      </TABLE>

    • Add Search to Home page

      By John L Hawkins 1 decade ago

      I had the same request, and added a Search button by modifying form WebBoard Index. I put another table cell in the middle of the row that has Home and Login links. See http://my.advisor.com/AdvForumIT.nsf. It can be tweaked a bit more, but I kept it simple hoping it won't be too hard to transfer to the upcoming version (if still needed).



      Below is the added code, in the middle TD. To get it to appear in this posting, I changed some square and angle brackets to { or }; compare it to the real form's code and you'll see how it should be.



      <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>

      <TR HEIGHT=26 ALIGN=MIDDLE>

      &lt;TD ALIGN=LEFT CLASS=&quot;path&quot;&gt;{&lt;IMG SRC=&quot;icon_home.gif&quot; border=0&gt;{SCRIPT}document.write(text_home+' : '+document.title){/SCRIPT} &lt;/TD&gt;<br/>
      


      &lt;td class=&quot;docactions&quot; align=&quot;center&quot; nowrap&gt;&lt;img src=&quot;ui_search.gif&quot; border=&quot;0&quot;&gt;&amp;nbsp;{SCRIPT}document.write(text_search){/SCRIPT}&lt;/td&gt;<br/>
      


      &lt;TD ALIGN=RIGHT valign=middle class=&quot;login&quot;&gt;&lt;Computed Value&gt;&amp;nbsp;&lt;/TD&gt;<br/>
      

      </TR>

      </TABLE>