Andrew Backer wrote:
> Thank you! That is an amazing bit of help, and a nice bit of work you
> guys have with genshi.  I did a small something with webadmin's
> tempaltes and was surprised how easy it was.
>
> What we have here all works to some degree, but not completly.  I can
> get my custom header in there just as I expected (for the style sheet),
> but I have issues now with the body.  I can get what I want into the
> output, but It is all showing up inside the "main" div as declared in
> layout.html.  Here is what I am using, but it is basically the same
> thing as you have :
>
>       <body py:match="body" py:attrs="select('@*')">
>               <div id="navcontainer">
>                       <ul id="navlist">
>                               <li id="active"><a href="/trac/xxx">xxx</a></li>
>                               <li><a href="/trac/yyy">yyy</a></li>
>                       </ul>
>               </div>
>                ${select('*')|text()}
>       </body>
>
> Now, inside layout.html's <div id="main> is the same ${select...}
> statement.  Somehow what I include is getting spit out in that, so it
> look like this :
>
> <body>
>    <div id="banner"> ... </div>
>    <div id="mainnav"> ... </div>
>      <div id="main>
>        <div id="navcontainer"> ...

This was the effect of Trac's "layout.html" used to include Trac's own
header and footer.

I just did an svn update and the ordering of where "site.html" gets
included has been fixed so the site layout gets applied after Trac's
layout.

-- Matt Good


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