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 <mdipie...@cs.depaul.edu> 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 <sanders.ch...@gmail.com> 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.
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to