This snippet sounds to me like a great plugin,  any volunteer? :-D
Alex F

El 30/10/2009 16:51, Chris S escribió:
> I've apparently got some orphaned HTML tags, so I'll get that all
> cleaned up.  I'm sure that's what's causing the problem.
>
> On Oct 30, 10:33 am, Chris S<[email protected]>  wrote:
>    
>> I'll see how I can best explain this.
>>
>> --------- Layout.html ---------------
>> <body>
>>      <div class="wrapper">
>>        <table class="layout">
>>          <tr>
>>            <td colspan="2" class="header">
>>              <h1>
>>              {{title=response.title or 'response.title'}}
>>              {{=A(title, _href=URL
>> (request.application,'default','index'))}}
>>              </h1>
>>              <h3>{{=response.subtitle or 'response.subtitle'}}</h3>
>>            </td>
>>          </tr>
>>          <tr>
>>            <td colspan="1" class="header">
>>              <!--{{=MENU(response.menu_auth,_class='web2py-menu web2py-
>> menu-horizontal')}}-->
>>              {{=MENU(response.menu,_class='web2py-menu web2py-menu-
>> horizontal')}}
>>            <div class="FilterToggle" align='right' id="menu-top"
>> width="10%">Toggle Filters</div>
>>            </td>
>>          </tr>
>> ...
>> --------------------------
>>
>> That being a section of my layout.html, I was pasting the above code
>> after the {{=menu}} statement.  I'll poke around with firebug some
>> more if it sounds like a CSS problem.
>> Could having other JS items on the page be a problem?  I'll remove the
>> includes for the other scripts and see if that changes anything, now
>> that I know it 'should' work and it's a matter of my implementation.
>>
>> On Oct 30, 10:24 am, mdipierro<[email protected]>  wrote:
>>
>>      
>>> works for me.
>>> Where did you put it exactly? Perhaps is a place hidden by the css?
>>>        
>>      
>>> On Oct 30, 9:56 am, Chris S<[email protected]>  wrote:
>>>        
>>      
>>>> 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&amp;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.
>>>>          
>>
>>      
> >
>
>    

-- 
Alejandro Fanjul Fdez.
[email protected]
www.mhproject.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to