[opencms-dev] finding the sibling with specified locale

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Mon Mar 14 18:46:13 CET 2011


How can I find out the complete uri of the sibling of a resource that carries
he specified locale?

E.g. In the VFS I have

/de/Impressum/index.htm
/en/Imprint/index.htm

de is a directory
en is a directory
Imprint is a sibling of Impressum (having resp. locale each)
index.htm are siblings. (having locale en resp. de)

When I have opened /de/Impressum/index.htm in the page I would like to
switch to the en-locale page by finding the sibling with full
en path name ?


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de



More information about the opencms-dev mailing list