Hi, first things first, I would like to express my gratitude for all the patience and time everyone has spent helping me. I've worked several hours around the whole integration process today before sending this mail, I'm beginning to feel a little frustration for not being able to get it right.

I've managed to update the publication at http://gris.uninova.pt:8080/lenya/gris/live/, so it now reflects the last changes I've performed.

I would like to try solving smaller problems each time, maybe this way it will be easier to reach the goal. For now I would be very satisfied if I was able to reproduce the document at http://gris.uninova.pt:8080/lenya/gris/live/staff/asg.html or http://gris.uninova.pt:8080/lenya/gris/live/staff/asg_en.html (depending on the selected language) when accessing http://gris.uninova.pt:8080/lenya/gris/live/staff/asg/profile.

This is the current match used for a profile link in a staff document:

<map:match pattern="**/staff/*/profile*">
   <map:aggregate element="cmsbody">
<map:part src="cocoon://navigation/{page-envelope:publication-id}/{page-envelope:area}/breadcrumb/index.xml"/> <map:part src="cocoon://navigation/{page-envelope:publication-id}/{page-envelope:area}/tabs/index.xml"/> <map:part src="cocoon://navigation/{page-envelope:publication-id}/{page-envelope:area}/menu/index.xml"/> <map:part src="cocoon:/lenya-document-view/live/profile/staff/{2}/index_{page-envelope:document-language}.xml"/>
   </map:aggregate>

   <map:transform src="xslt/page2xhtml-profile.xsl">
<map:parameter name="document-id" value="{page-envelope:document-id}"/>
       <map:parameter name="document-type" value="profile"/>
<map:parameter name="language" value="{page-envelope:document-language}"/> <map:parameter name="root" value="{page-envelope:context-prefix}/gris/live"/>
   </map:transform>

   <map:serialize type="html"/>
</map:match>

Looking at the publication using a profile link in a staff document, you'll see the result I'm getting, which is similar to the desired except for the following:
- the language displayed is the default instead of the current selected one
- the links in the menus and tabs are incorrect, they all have /staff/???/, for instance: http://gris.uninova.pt:8080/lenya/gris/live/staff/asg/index.html instead of http://gris.uninova.pt:8080/lenya/gris/live/index.html
- the content in the <div id="body"> isn't being correctly displayed
- the copyright div isn't being displayed at all; the code for this div is the same in page2xhtml-profile.xsl as in page2xhtml.xsl which is:

   <div id="copyright">
       <i18n:translate>
           <i18n:text i18n:key="copyright"/>
       </i18n:translate>
   </div>

By the way, solprovider thank you for the i18n tip.

Thank you once again, regards,
Rolando

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to