#6973 closed defect (worksforme)
Changing the Trac Header Wiki to Home
Reported by: | Owned by: | Christopher Lenz | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | admin/web | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Hi,
how we can change the trac Header's caption.Our requirment is we need to change the caption "Wiki" which showing on the navigation bar to" Home".
I am not a developer and haven't any idea about css. Pls suggest me a solution ASAP.
Thanaks in advance, Liju Mathew
Attachments (0)
Change History (5)
follow-up: 2 comment:1 by , 17 years ago
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to thatch:
For 0.10, you'll need to edit the source. See
trac/wiki/web_ui.py
in theget_navigation_items
function.yield ('mainnav', 'wiki', html.A('Wiki', href=req.href.wiki(), accesskey=1))For users of 0.11, see wiki:0.11/TracInterfaceCustomization#CustomNavigationEntries
Hi Thatch,
Thnaks for sooner reply. we had used it on a windows system for a YTrac server and has installed using on the setup package trac-0.10.3.win32.exe. I think it's a complied version of a Trac.So that I can't find any file which named web_ui.py on it.Also server holds nearly 10-12 Trac instance and this is a one of the custom requirments towards a Trac from a client.
Anyway I had find a solution for this. I had understood that it's not a straight way surely but it serve our requirement definitively.
What I did is listed follow
1, Install the plugins NavAddPlugin,NavHiderPlugin 2, Add the entry in trac.ini
[components] navadd.* = enabled navhider.* = enabled
[navhider] mainnav = wiki metanav = help
[navadd] add_items = imprint,home imprint.title = Impressum/Imprint imprint.url = /wiki/Impressum #imprint.perm = WIKI_VIEW imprint.target = metanav home.title = Home home.url = http://localhost/trac/wiki
#download.perm = WIKI_VIEW
home.target = mainnav
3, Add new entry in mainnav for home
mainnav = home,wiki,timeline,roadmap,browser,tickets,newticket,search
That's it :-)
Thanks for your kind help.
Best regards Liju Mathew
comment:3 by , 17 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:4 by , 17 years ago
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
This wasn't really "fixed" as there isn't a defect to begin with. Setting this as "worksforme" since it can be easily accomplished in 0.11.
comment:5 by , 17 years ago
Milestone: | 0.10.5 |
---|
For 0.10, you'll need to edit the source. See
trac/wiki/web_ui.py
in theget_navigation_items
function.For users of 0.11, see wiki:0.11/TracInterfaceCustomization#CustomNavigationEntries