Main navigation | View Tickets | href question

9 views
Skip to first unread message

Mike Dewhirst

unread,
Jul 27, 2022, 3:18:22 AMJul 27
to Trac Users
I would like to tweak the | VIEW TICKETS | main nav bar button to launch
a particular report rather than the Available Reports page.

https://trac.edgewall.org/wiki/TracNavigation#mainnav-bar says ...

> In the following example we rename the link to WikiStart
> <https://trac.edgewall.org/wiki/WikiStart> /Home/, and make the /View
> Tickets/ entry link to a specific report.
>
> [mainnav]
> wiki.label = Home
> tickets.href = /report/24

I tried tickets.href = /reports/1 but no success.    My {1} report is
Active Tickets.

The above wiki page is for Trac 1.4 but I'm running Trac 1.5 and cannot
find the equivalent page.

Has this incantation changed?

Thanks

Mike


--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.

OpenPGP_signature

Mike Dewhirst

unread,
Jul 27, 2022, 3:34:00 AMJul 27
to Trac Users
Helps if you restart the server. Sorry.
OpenPGP_signature

RjOllos

unread,
Jul 27, 2022, 4:30:59 PMJul 27
to Trac Users
On Wednesday, July 27, 2022 at 12:34:00 AM UTC-7 Mike Dewhirst wrote:
Helps if you restart the server. Sorry.

The trac.ini should be re-read if its timestamp changes. The file is read if necessary when processing the request. So it's unexpected that you should have to restart the server for the changes to be applied. 

Mike Dewhirst

unread,
Jul 27, 2022, 7:45:22 PMJul 27
to trac-...@googlegroups.com, RjOllos
Perhaps I wasn't paying attention? My apology is still valid though.

Cheers

Mike

 
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/f749a193-e700-4f08-85df-074e3b0089dfn%40googlegroups.com.
OpenPGP_signature
Reply all
Reply to author
Forward
0 new messages