TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 135
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 110
  • Total: 110

How to insert google search-script to a static page (an article)?

Started by Orresnei, October 22, 2007, 07:43:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Orresnei

As the topics subject says. How do I insert a google search-script in to an article in Tiny Portal? I want to make a "static" search page using the google adsense search-thingie. The following code is to be inserted:


<!-- SiteSearch Google -->
<form method=\"get\" action=\"http://www.google.no/custom\" target=\"_top\">
<table border=\"0\" bgcolor=\"#ffffff\">
<tr><td nowrap=\"nowrap\" valign=\"top\" align=\"left\" height=\"32\">
<a href=\"http://www.google.com/\">
<img src=\"http://www.google.com/logos/Logo_25wht.gif\" border=\"0\" alt=\"Google\" align=\"middle\"></img></a>
</td>
<td nowrap=\"nowrap\">
<input type=\"hidden\" name=\"domains\" value=\"www.norwegianpirates.net\"></input>
<label for=\"sbi\" style=\"display: none\">Skriv inn søkeordene dine</label>
<input type=\"text\" name=\"q\" size=\"31\" maxlength=\"255\" value=\"\" id=\"sbi\"></input>
<label for=\"sbb\" style=\"display: none\">Send søkeskjema</label>
<input type=\"submit\" name=\"sa\" value=\"Søk\" id=\"sbb\"></input>
</td></tr>
<tr>
<td> </td>
<td nowrap=\"nowrap\">
<table>
<tr>
<td>
<input type=\"radio\" name=\"sitesearch\" value=\"\" checked id=\"ss0\"></input>
<label for=\"ss0\" title=\"Søk på Internett\"><font size=\"-1\" color=\"#000000\">Web</font></label></td>
<td>
<input type=\"radio\" name=\"sitesearch\" value=\"www.norwegianpirates.net\" id=\"ss1\"></input>
<label for=\"ss1\" title=\"Søk www.norwegianpirates.net\"><font size=\"-1\" color=\"#000000\">www.norwegianpirates.net</font></label></td>
</tr>
</table>
<input type=\"hidden\" name=\"client\" value=\"pub-9756197848544294\"></input>
<input type=\"hidden\" name=\"forid\" value=\"1\"></input>
<input type=\"hidden\" name=\"ie\" value=\"ISO-8859-1\"></input>
<input type=\"hidden\" name=\"oe\" value=\"ISO-8859-1\"></input>
<input type=\"hidden\" name=\"cof\" value=\"GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1\"></input>
<input type=\"hidden\" name=\"hl\" value=\"no\"></input>
</td></tr></table>
</form>
<!-- SiteSearch Google -->


Kind regards,

Snorre :)

G6Cad

Please do not cross post the same questions. I gave a reply in your other topic about static page for google adsense.

Zetan

Have you turned off the WYSIWYG editor?

Admin > TP Settings > Use the WYSIWYG editor?: [ ]

That code is not php, and when I tried in a normal article page.. it seemed to work ok,

Not what I expected.. norwegianpirates.net and several text fields.

This website is proudly hosted on Crocweb Cloud Website Hosting.