Thx for the reminder.  I've updated it with the ServiceMix template's way of
doing things.
Here's the result:
   https://cwiki.apache.org/ODExSITE/

It looks good to me, but if you see anything wrong, let me know.

On Mon, Jun 14, 2010 at 17:36, Tammo van Lessen <[email protected]>wrote:

> Hi Guillaume,
>
> thanks for taking care of this issue. I also think the macro needs an
> update. I remember there was a mail from Daniel Kulp to [email protected]
> that explained what to do. I've attached the mail, but probably it's
> easier to grab and copy the macro from another space.
>
> Thanks,
>  Tammo
>
>
> On 12.06.2010 08:54, Guillaume Nodet wrote:
> > Sending to dev@ as this does not really have to be private.
> >
> > Here is the template:
> >
> > IIRC, the macro renderPage need to be changed.
> > I'll try to fix it with the one from another template and reexport the
> space
> > on monday (ping me if I forget).
> >
> > ================
> > ##
> > #macro (renderPage $title)
> >     #set($globalHelper = $action.getGlobalHelper())
> >     #set($renderer = $globalHelper.getWikiStyleRenderer())
> >     #foreach ($child in $page.space.pages)
> >         #if ($child.title.equals($title))
> >             #set ($content =
> > $renderer.convertWikiToXHtml($child.toPageContext(),
> $child.content).trim())
> >             $content
> >         #end
> >     #end
> > #end
> > ##
> > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
> > http://www.w3.org/TR/html4/loose.dtd";>
> > <!--
> >
> >     Licensed to the Apache Software Foundation (ASF) under one or more
> >     contributor license agreements.  See the NOTICE file distributed with
> >     this work for additional information regarding copyright ownership.
> >     The ASF licenses this file to You under the Apache License, Version
> 2.0
> >     (the "License"); you may not use this file except in compliance with
> >     the License.  You may obtain a copy of the License at
> >
> >        http://www.apache.org/licenses/LICENSE-2.0
> >
> >     Unless required by applicable law or agreed to in writing, software
> >     distributed under the License is distributed on an "AS IS" BASIS,
> >     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
> implied.
> >     See the License for the specific language governing permissions and
> >     limitations under the License.
> > -->
> > <html>
> > <head>
> >     <link href="http://people.apache.org/~mriou/ode/site/default.css";
> > rel="stylesheet" type="text/css"/>
> >     <link href="
> http://people.apache.org/~mriou/ode/site/type-settings.css";
> > rel="stylesheet" type="text/css"/>
> >     <title>
> >     Apache ODE -- $page.title
> >     </title>
> > </head>
> >
> > <body>
> >
> > <!-- Start Border -->
> > <div id="border">
> > <img src="http://people.apache.org/~mriou/ode/site/images/border-top.jpg
> "
> > alt="" class="block" />
> >
> >    <!-- Start Main Wrapper -->
> >       <div id="wrapper">
> >
> >           <!-- Start Header -->
> >           <div id="header">
> >              <img src="
> > http://people.apache.org/~mriou/ode/site/images/top-banner.gif";
> alt="Welcome
> > to Apache ODE" class="block" />
> >           </div>
> >           <!-- End Header -->
> >
> >           <!-- Start Navigation Bar -->
> >           <div id="navbar">$autoexport.breadcrumbs($page)</div>
> >         <!--`End Navigation Bar -->
> >
> >         <!-- Start Left Column -->
> >
> >         <div id="leftcolumn">
> >             <div class="mainnav">
> >                 #renderPage("SideNav Main")
> >               </div>
> >               <br />
> >             <div class="mainnav">
> >                 #renderPage("SideNav Documentation")
> >             </div>
> >             <br />
> >             <div class="mainnav">
> >                 #renderPage("SideNav Contributing")
> >             </div>
> >
> >         </div>
> >     <!-- End Left Column -->
> >
> > <!-- Start Center Column -->
> >     <div id="centercolumn">
> >
> >     $body
> >
> >     <br />
> >     </div>
> >     <!-- End Center Column -->
> >
> > <div id="footer">
> > <em><a href="$confluenceUri/pages/editpage.action?pageId=$page.id">Edit
> > page</a></em><br/>
> > <em>Design and artwork by <a href="mailto:[email protected]
> ">Kelly
> > Thompson</a></em>
> > </div>
> >
> > </div>
> > <!-- End Main Wrapper -->
> >
> >
> > <div id="bottomborder"><img src="
> > http://people.apache.org/~mriou/ode/site/images/border-bottom.jpg";
> > class="block" /><br /><br /></div>
> > </div>
> > <!-- End Border -->
> >
> > </body>
> > </html>
> > ==============
> >
> > On Fri, Jun 11, 2010 at 21:25, Rafal Rusin <[email protected]>
> wrote:
> >
> >> Great.
> >> We need to fix left navigation tab from http://ode.apache.org/.
> >> When you enter here:
> >>
> >>
> https://cwiki.apache.org/DIRxDEV/exporting-a-confluence-space-as-a-website.html
> >> you will see what to do in order to modify auto export html template.
> >> First, could you copy paste this template and send here? Then we'll
> >> try to modify it and give you back fixed version.
> >>
> >> On 11 June 2010 15:24, Guillaume Nodet <[email protected]> wrote:
> >>> I don't think I can grant access, you'd have to ask infra for that, but
> I
> >>> should be able to do any manipulation you need if you tell me what to
> do.
> >>>
> >>> On Fri, Jun 11, 2010 at 12:24, Rafal Rusin <[email protected]>
> >> wrote:
> >>>
> >>>> Hello,
> >>>>
> >>>> I'm not sure, who to ask, but we need PMC members admin rights in
> >>>> order to fix ode.apache.org (html export plugin template).
> >>>> Matthieu can do this, but AFAIK, he's on vacations.
> >>>> Is there someone here to grant such rights?
> >>>>
> >>>> --
> >>>> Regards,
> >>>> Rafał Rusin
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Cheers,
> >>> Guillaume Nodet
> >>> ------------------------
> >>> Blog: http://gnodet.blogspot.com/
> >>> ------------------------
> >>> Open Source SOA
> >>> http://fusesource.com
> >>>
> >>
> >>
> >>
> >> --
> >> Regards,
> >> Rafał Rusin
> >>
> >
> >
> >
>
> --
> Tammo van Lessen - http://www.taval.de
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Reply via email to