Hi

I am trying to port HideValsPlugin for Trac 0.10 to Trac 0.11. I have
made the following changes

1)Converted the ClearSilver Template to Genshi (html) template

2) Made class HideValsAdminModule in file admin.py implement
IAdminPanelProvider instead of IAdminPageProvide, and changed the
method names and return types accordingly

3)Replaced the following line in setup.py
package_data = { 'hidevals': ['templates/*.cs', 'htdocs/*.js',
'htdocs/*.css' ] }
with
package_data = { 'hidevals': ['templates/*.html', 'htdocs/*.js',
'htdocs/*.css' ] },

4) In filter.py, chnaged the following method from
def post_process_request(self, req, template, content_type):
to
def post_process_request(self, req, template, data, content_type):


I then installed the plugin , but still am not able to see any changes
in the admin panel ('Ticket_Hidevals' under the permission tab)

Please let me know where am going wrong

Sincerely
Aneez Backer

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

Reply via email to