Hi all,
I am developing a plugin for Trac 0.11dev and I would like to use link
with anchor in my template.

If I put         " <a name="gohere">blablabla</a>" in my HTML template file,
how could I use it with a URL like http://lolo.com/trac.cgi/section#gohere
?

I tried to put in the function :
"def process_request(self, req)
  ...
  ...
  return 'section#gohere', data, None "

But I have this internal Trac error :  "TemplateNotFound: Template
"patterns.html#displayTickets" not found"

So I looked how the preview for a new ticket did it (http://www.hosted-
projects.com/trac/TracDemo/Demo/newticket#preview). I looked the file
trunk/trac/ticket/web_ui.py but I didn't find the information. The
function only return " return 'ticket.html', data, None" and I cannot
find how Trac does #preview to appear after the URL.

Could anyone help me ?
Pingvince
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to