John Siirola wrote:
Not exactly what you were asking for, but we use the following fragment to
show a corporate logo and either the site logo or the site's
name+description.  [...]

Thanks John.

Using your code example I managed to show my custom header like so:

<py:match path="body" once="true">
<body>
 <!-- Custom Header  -->
 <div py:match="div[@id='header']"  py:attrs="select('@*')">
 HERE IS MY CUSTOM HEADER/LOGO CONTENTS ...
 </py:match>

 ${select('*|comment()|text()')}
</body>
</py:match>

It was also very interesting to learn how one can extract the project description:

<py:if test="project.descr">
 <h2>${project.descr}</h2>
</py:if>

Clemens

--
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?hl=en.

Reply via email to