On Feb 19, 2009, at 7:23 AM, Tim Hatch wrote:
>
>> I want to copy the js file and image to my local machine i.e.) inside
>> site packages. I know the syntax to copy the files.
>
> I don't quite understand when you're trying to do this (I hope in
> setup.py?) but suggest looking at the VotePlugin source, it has a
> couple of images that get used.
Indeed, setup ITemplateProvider as that one does, and then you use $
{href.chrome('image.png') }in the template.
--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
-~----------~----~----~----~------~----~------~--~---