NameSilo

Placement of a search box

Spaceship Spaceship
Watch

Zhang

Established Member
Impact
0
Hello there! I'm trying to put a search box from google on my website. For the life of me, I can't figure out how to put it where I want it. The site is at www.wow-tlc.com and I want to put the search box between View Our New Guild Roster and Guild Meetings and Events. The site is mostly php.

I can post the source if you like, but I figure you can check the page and just view the source there. Thanks for any help in advance!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Right below the Guild Roster image just create a new table and stick the search box code in it.

Code:
<table width="100%" cellpadding="0" cellspacing="0">
  <tr>
    <td>{search-code-here}</td>
  </tr>
</table>
 
0
•••
Yes, I could add that if I could find where the heck it is in the index file. The gif that I want to put it under is called guildroster.gif, I figured if I just did a quick search looking for that gif, I could stick it right under there, the problem is, I can't find where the original coder stuck that pic...
 
0
•••
Code:
    <td width="197">
      <a href="?s=guild&p=members"><img src="images/[B][COLOR=DarkRed]guildroster.gif[/COLOR][/B]" width="197" height="84"></a><br>

      <br>

      <table border="0" cellpadding="0" cellspacing="0" id="memberdetailsbox">
        <tr>
          <td class="subheader">Guild Meetings and Events</td>
        </tr>
        <tr>
          <td class="smalltext" style="padding:10px;">

          <b>Guild Meeting Info posted</b><br><i>05-19-2006</i><br><br><div align="justify" class="smalltext">Latest guild meeting information posted on the Guild Meeting section of the LC board.  Or, it can be <a href="http://wow-tlc.com/phpBB2/viewtopic.php?t=1223">Found here.</a></div><br>          <a href="?s=community&p=meetings">View more events.</a>


          </td>
        </tr>
      </table>

There's the section of code. The image is called guildroster.gif... you sure you typed it in correctly when searching for it?
 
0
•••
Ok, I think I know the problem then...though I don't know how to solve it...the index I have is completely different than the source from the page. I guess since it's all php, it's written to refer to other pages to fill in the content. Edit: I didn't do it right, blah...How do I add the source into the little box then?

Edit #2: I'm a dummy...It was in my home.php file. But that code only goes on the home page, not each page. Well, I guess one search box is better than none.
 
Last edited:
0
•••
Appraise.net

We're social

Domain Recover
DomainEasy — Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back