Hi,

It sounds like the navigation links are not what you want. Those links are generated by the aggregation parts:
       <map:match pattern="**/staff/*/profile">
          <map:aggregate element="cmsbody">
<map:part
src="cocoon://navigation/{page-envelope:publication-id}/{page-envelope:area}/breadcrumb/staff/{2}_{page-envelope:document-language}.xml"/>

If you do not want "staff" in the link, then remove it from the URL.

I've lost count at the times I've tried combinations with the aggregations parts for them to generate the behavior I expect. Removing "staff" in the link, i.e., changing the line to <map:part src="cocoon://navigation/{page-envelope:publication-id}/{page-envelope:area}/breadcrumb/{2}_{page-envelope:document-language}.xml"/>, the generated URL's are wrong once again, for instance

http://gris.uninova.pt:8080/lenya/gris/live/staff/asg/index_en.html instead of http://gris.uninova.pt:8080/lenya/gris/live/index_en.html


Without any XMAP code, could you explain exactly which links are
wrong: where they appear, the current URL appearing, and what you
expected?

I'll try to explain this as clear and simple as I can. When navigating normally in the publication, in the EN version, the toplevel documents from the left-side menu have the following URL's:
Home      ->  http://gris.uninova.pt:8080/lenya/gris/live/index_en.html
Profile   ->  http://gris.uninova.pt:8080/lenya/gris/live/about_en.html
Staff     ->  http://gris.uninova.pt:8080/lenya/gris/live/staff_en.html
Projects  ->  http://gris.uninova.pt:8080/lenya/gris/live/project_en.html
Industry  ->  http://gris.uninova.pt:8080/lenya/gris/live/industry_en.html

But when accessing any profile from a staff member, for instance http://gris.uninova.pt:8080/lenya/gris/live/staff/asg/profile_en, the toplevel documents from the left-side menu have the following URL's: Home -> http://gris.uninova.pt:8080/lenya/gris/live/staff/index_en.html Profile -> http://gris.uninova.pt:8080/lenya/gris/live/staff/about_en.html Staff -> http://gris.uninova.pt:8080/lenya/gris/live/staff/staff_en.html Projects -> http://gris.uninova.pt:8080/lenya/gris/live/staff/project_en.html Industry -> http://gris.uninova.pt:8080/lenya/gris/live/staff/industry_en.html

which point to non existing documents in the publication, as you can see they all have the string"staff" between "live" and the ending string of the URL. If you visit the profile URL, you can see the result I expect, except for the links that for the moment are incorrect.

Thanks, regards,
Rolando

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

Reply via email to