Loading...
 
Features / Usability

Features / Usability


Re: Re: Re: Re: putting search box in the header?

posts: 3665 United States

The easiest way is probably to simply edit the tiki-top_bar.tpl template file.

  1. Edit the template and simply add the search box code from Google (you add it right at the very top). If you want it on the right side, you can enclose it in a floating div:
    Copy to clipboard
    <div style="float:right:"> ...code from google... </div>
  2. On your Administration: Features page, turn on the top bar.
  3. Clear your Tiki & Browser cache.




>
> I entered all my CSE info into the tiki modified Google search box code. I looked at the tiki-top_bar.tpl, but still had no clue where to enter the search box code. I just saw a paragraph of code with a few if statements in it. I made the results page here http://fighterzone.org/tiki-index.php?page=Google+Search+Results but I don't have the search box placed anywhere yet on my site.


Your results page is producing a malformed DIV, so your results are not going to appear correctly. You need to fix that, too.


HTH,
-Rick
Coming soon: TikiWiki for Dummies Smarties — A beginner's reference guide to TikiWiki.

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting