I was trying to ad the google search bar from Adsense where I could search my web2py page with google. The way it works after running through setup options you're given a code snippet to past into any page you want. I figured it would be easy but It's not working 100% for me yet.
The code google gives me to paste is: <form action="http://www.google.com/cse" id="cse-search-box" target="_blank"> <div> <input type="hidden" name="cx" value="partner- pub-0222862950343039:z5fx0z-1cw2" /> <input type="hidden" name="ie" value="ISO-8859-1" /> <input type="text" name="q" size="31" /> <input type="submit" name="sa" value="Search" /> </div> </form> <script type="text/javascript" src="http://www.google.com/cse/brand? form=cse-search-box&lang=en"></script> Pasting this into my 'layout.html' page doesn't produce anything. However, pasting it into one of the html files that includes layout.html works just fine. I wanted the search bar next to my menu in my layout.html, can someone tell me what the rub is here? I tried putting it in it's own .html file and doing an {{include 'googlesearch.html'}} but that didn't work either. Thanks for the help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---