Hi, I'm lookin at the formatter file, there is indeed "context" properties being set in several classes, but I can't see any "id" object/properties. I may be not looking for the right thing, and probably not the right way, but I can't manage to find out which class to use =/
Thanks in advance, TyR 2008/8/28 Noah Kantrowitz <[EMAIL PROTECTED]> > Its not quite that simple. What you actually want is the URL to the > render context (think transclusion). Look at formatter.context.id > > > > --Noah > > > > *From:* [email protected] [mailto:[EMAIL PROTECTED] *On > Behalf Of *Julien Lenne > *Sent:* Thursday, August 28, 2008 1:56 PM > *To:* [email protected] > *Subject:* [Trac-dev] Re: Current wiki page URL for a macro > > > > Well, if it's to make it as complicated, but I just want to make a very > simple python script, & it's almost finished, but I just need to get the url > from where the macro is called =/ > > 2008/8/28 Noah Kantrowitz <[EMAIL PROTECTED]> > > It will take just as much knowledge to remake it from scratch as it will to > port the existing plugin. > > > > --Noah > > > > *From:* [email protected] [mailto:[EMAIL PROTECTED] *On > Behalf Of *Julien Lenne > *Sent:* Thursday, August 28, 2008 1:49 PM > *To:* [email protected] > *Subject:* [Trac-dev] Re: Current wiki page URL for a macro > > > > It could be if I knew little on Python, but I don't know anything :s > If someone could make it work, I'm okay with that ;) > > 2008/8/28 Noah Kantrowitz <[EMAIL PROTECTED]> > > Julien Lenne wrote: > > I'm actually using the 0.11 version of trac, and, due to Genshi, this > plugin > > doesn't work, and it is far too complicated for me to adapt (patch). The > > author of this plugin told me it won't be adapt =/ > > > > It looks like a pretty straight-forward port to me. It will be far > easier than starting from scratch. > > --Noah > > > > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" 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-dev?hl=en -~----------~----~----~----~------~----~------~--~---
