NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Placement of a search box

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
5 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 07-14-2006, 07:27 PM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: Jul 2006
Location: Gardendale, Texas
Posts: 48
Zhang is an unknown quantity at this point
 



Placement of a search box


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!
Zhang is offline  
Old 07-15-2006, 12:07 AM   #2 (permalink)
NamePros Member
 
CreedFeed's Avatar
Join Date: Apr 2006
Posts: 186
CreedFeed is on a distinguished road
 



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>
CreedFeed is offline  
Old 07-15-2006, 11:33 AM THREAD STARTER               #3 (permalink)
NamePros Member
Join Date: Jul 2006
Location: Gardendale, Texas
Posts: 48
Zhang is an unknown quantity at this point
 



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...
Zhang is offline  
Old 07-15-2006, 12:22 PM   #4 (permalink)
NamePros Member
 
CreedFeed's Avatar
Join Date: Apr 2006
Posts: 186
CreedFeed is on a distinguished road
 



Code:
    <td width="197">
      <a href="?s=guild&p=members"><img src="images/guildroster.gif" 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?
CreedFeed is offline  
Old 07-15-2006, 12:58 PM THREAD STARTER               #5 (permalink)
NamePros Member
Join Date: Jul 2006
Location: Gardendale, Texas
Posts: 48
Zhang is an unknown quantity at this point
 



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 by Zhang; 07-16-2006 at 12:57 PM.
Zhang is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 02:15 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger