forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DeSmet_Ri...@emc.com
Subject RE: Tabs definition in multiple folders?
Date Mon, 03 Nov 2003 09:29:18 GMT
Hello Leo,


> To get it to view the tabs.xml in say directory xdocs/A
> then add the following entry before the original entry to the sitemap
> 	<!-- 2003-11-01                                         
>           -->
>       <map:match pattern="*/**tab-*.html">
>         <map:generate src="content/xdocs/{1}/tabs.xml" />
>         <map:transform type="linkrewriter"
> src="cocoon:/{1}linkmap-{2}.html"/>
>         <map:call resource="skinit">
>           <map:parameter name="type" value="tab2menu"/>
>           <map:parameter name="path" value="{1}{2}.html"/>
>         </map:call>
>       </map:match>
>
> 2 things
> -	the above will allow you to have an tabs.xml file in 
> each sub-directory directly under xdocs e.g xdocs/A

This was my need exactly. Within the first level folder,
I map each of the tabs to a second level subfolder, but I don't
have additional levels.

> -	not sure exactly how to create the entry in tabs.xml 
> which will get you back to home page.

I use the skinconfig trails for that. Works marvelous!

Tnx!

Ringo

Mime
View raw message