Edgewall Software

Changes between Version 28 and Version 29 of TracDev/ApiChanges/0.11


Ignore:
Timestamp:
Dec 23, 2007, 1:50:34 AM (16 years ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/ApiChanges/0.11

    v28 v29  
    157157
    158158In Trac 0.11, while it's still possible to customize the Genshi templates like it was for the Clearsilver ones in previous versions, this is no longer the only way, neither the preferred. What makes the use of the Genshi templating system fairly unique is that you can manipulate the generated output at run-time, in order to filter out some content, modify it or even inject new content.
    159 Among other things, leaving the original templates alone make it much easier to benefit from bug fixes and improvements made in newer mainstream Trac versions. All you need for that is to write a plugin implementing the ITemplateSreamFilter interface, which allows you to have complete control on the generated Genshi event stream.
     159Among other things, leaving the original templates alone make it much easier to benefit from bug fixes and improvements made in newer mainstream Trac versions. All you need for that is to write a plugin implementing the ITemplateStreamFilter interface, which allows you to have complete control on the generated Genshi event stream.
    160160
    161161Some useful references: