db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Waibel <arm...@apache.org>
Subject Forrest patch, solve problem with page TOC
Date Wed, 16 Jun 2004 22:14:28 GMT
Hi Brian,

today I posted to forrest-list about the missing table of content on 
each page when using Tigris style.
A user posts a patch (only remove a few lines in Tigris site2xhtml.xsl 
file) a few minutes ago.
If you find time please apply the patch and create the site again.

regards,
Armin

-------- Original Message --------
Subject: Re: Problem with Tigris skin - per page TOC not created
Date: Wed, 16 Jun 2004 14:52:41 -0700
From: Rick Tessner <rick@onnadayr.ca>
Reply-To: dev@forrest.apache.org
To: dev@forrest.apache.org
References: <40D01B73.2040203@apache.org>  <cap79c$fou$1@sea.gmane.org>

On Wed, 2004-06-16 at 03:26, Nicola Ken Barozzi wrote:

> > The <toc> tag in skinconf.xml was enabled to generate a per page TOC, 
> > but it doesn't. A SVN snapshot some weeks ago worked like a charm and 
> > create the the TOC.
> > Is this a bug or new intended behaviour of Tigris skin (discard support 
> > for <toc> tag)?
> 

> Another bug.
> 
> Fixing I go! :-)

Here's a patch for tigris-style.  Problem was in the site2xhtml.xsl.  It
wasn't able to fall back to the default defined in
common/xslt/html/site2xhtml.xsl because it explicitly matches
"node()|@*".

This patch just removes that template.

-- 
Rick Tessner <rick@onnadayr.ca>



Mime
View raw message