Maven 1
  1. Maven 1
  2. MAVEN-554

adding google search to the navbar

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.0-beta-10
    • Fix Version/s: 1.0-beta-10
    • Component/s: documentation
    • Labels:
      None
    • Number of attachments :
      1

      Description

      Attached is a patch to add a small google site-search field
      to the navbar. The spacing between the google logo and
      the input field is a little large, but I'm at a loss as how
      to fix it (jsl is replacing <br/> with <br></br> which increases
      the spacing).

      To include the search field, add a <search/> element to navigation.xml,
      in the <body>. E.g:

      <body>
      <links/>
      <menu name="foo"/>
      <search/>
      </body>

      It will appear in the navbar above the Project Documention
      menu i.e:

      Menu 1
      .
      .
      Search $

      {pom.name}

      <google logo>
      [ text field ] <go>

      Project Documentation

      While this is pretty cool (I'm biased , it isn't
      much use for intranets - YMMV.

      Cheers,

      Tim

        Activity

        Hide
        dion gillard added a comment -

        Updates for site.jsl

        Show
        dion gillard added a comment - Updates for site.jsl
        Hide
        dion gillard added a comment -

        Applied patch, added docs, added fix where the site ends in a slash, causing google hassles

        Show
        dion gillard added a comment - Applied patch, added docs, added fix where the site ends in a slash, causing google hassles

          People

          • Assignee:
            Unassigned
            Reporter:
            dion gillard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: