Mailing List Archive

[Solved]: Main navigation | View Tickets | href question
Helps if you restart the server. Sorry.

On 27/07/2022 5:18 pm, Mike Dewhirst wrote:
> 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.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/686cfaeb-989a-0231-aa96-b3eed9b972b6%40dewhirst.com.au.
Re: [Solved]: Main navigation | View Tickets | href question [ In reply to ]
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.

--
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+unsubscribe@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.
Re: Re: [Solved]: Main navigation | View Tickets | href question [ In reply to ]
On 28/07/2022 6:30 am, RjOllos wrote:
>
>
> 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.

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+unsubscribe@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
> <https://groups.google.com/d/msgid/trac-users/f749a193-e700-4f08-85df-074e3b0089dfn%40googlegroups.com?utm_medium=email&utm_source=footer>.


--
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.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/a3033ab4-0a4d-de23-176d-cad6cfa952bc%40dewhirst.com.au.