Due to the way Clearsilver handles templating this is non-trivial. A few 
options include creating the new DOM elements for the menu items and 
moving them in to place in JavaScript (see the CtxtnavAddPlugin for an 
example), and using a combination of a new header.cs (using the same 
technique as TracTags to force its use) and a request filter to add in 
the new items. A better answer is "wait until Markup" as that will allow 
for things like DOM transforms on the fly.

--Noah

Ilias Lazaridis wrote:
> Ilias Lazaridis wrote:
>> I would like to add a left-aligned navigation CSS (see the top-most
>> navigation of this site as an example):
>>
>> http://case.lazaridis.com/wiki/Tracking
>>
>> This could be used later to add additional "metanav-left" menues.
>>
>> Is there a mechanism available to provide CSS alterations via a Plugin
>> (something like TemplateProvider)?
>>
>> If not, could a direct addition to the trac.css go into the 0.10
>> version of trac (non-intrusive, non-alteration, additional CSS)?
> 
> After looking a little more at this:
> 
> I would like to create a plugin, which would provide 2 additional
> menues:
> 
> 1.) "projectnav" - left aligned, in the line of the "metanav" menue
> 
> This would be used e.g. for the "Project Guide" link, which is
> currently within the metanav menu, see:
> 
> http://case.lazaridis.com/wiki
> 
> 2.) "backnav" - left aligned, in the line of the "contextnav" menue (of
> the wiki)
> 
> This could be used to add e.g. Wiki-Backlinks (e.g. from a rewritten
> macro "AutoNav", which would use the "MenuProvider" functionality to
> add the entries).
> 
> I could do all the implementation, but would need some hints on how to
> implement the plugin in the best way (ideally in a way that would keep
> the code integratable into to main trac code base).
> 
> .
> 
> --
> http://lazaridis.com
> 
> 
> > 


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

Reply via email to