jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 1
  • MAVEN-554

adding google search to the navbar

  • Log In
  • Views
    • XML
    • Word
    • Printable

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

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

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. File
    site.jsl
    07/Jul/03 9:22 PM
    2 kB
    dion gillard

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
dion gillard added a comment - 07/Jul/03 9:22 PM

Updates for site.jsl

Show
dion gillard added a comment - 07/Jul/03 9:22 PM Updates for site.jsl
Hide
Permalink
dion gillard added a comment - 07/Jul/03 11:11 PM

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

Show
dion gillard added a comment - 07/Jul/03 11:11 PM Applied patch, added docs, added fix where the site ends in a slash, causing google hassles

People

  • Assignee:
    Unassigned
    Reporter:
    dion gillard
Vote (0)
Watch (0)

Dates

  • Created:
    07/Jul/03 9:21 PM
    Updated:
    08/Mar/06 10:47 PM
    Resolved:
    07/Jul/03 11:11 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.