Hi,

I'm trying to get AutoNav or Backlinks to work with my Trac 0.11
install. I can't seem to find a way to get an id for the current wiki
page (the one on which the Macro is included).

using *?hdfdump=1, I can see a "page" variable that would likely have
this information, as well as a "title" variable that might be useful
(except for WikiStart which apparently has a null title), but I don't
know how to access the HDF in the new macro interface.

The AutoNav plugin (http://trac.edgewall.org/attachment/wiki/
MacroBazaar/autonav-trac-0.11.py) tries to solve this problem by using
formatter.context.id, which, unfortunately, does not seem to exist in
this more recent version of 0.11. Even with the numerous fixes implied
by previous dicsussions (http://trac.edgewall.org/ticket/6254,
http://groups.google.com/group/trac-users/browse_thread/thread/d4c001a44aa6c413/c3040e836f41f916?lnk=gst&q=autonav#c3040e836f41f916),
I still cannot get this plugin to work.

Given this, I have two main questions:
 1) Is there any way to access this minimal HDF from within the new
macro interface?
 2) Is there any substitute for formatter.context.id?

Thanks,
Mark
--~--~---------~--~----~------------~-------~--~----~
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