[opencms-dev] Copying the navigation of any file

Ulrich Rueth ulrich.rueth at gmx.de
Tue Aug 6 21:47:09 CEST 2002


Hi,
I'm currently struggling with the following problem.
Background: I have built a template incl. a new class which fills up an 
article.html file with the content of a xml file by passing a parameter to 
this article.html file. The URL looks e.g. like this:

http://localhost:8080/opencms/opencms/privat/articles/article.html?source=/content/articles/privat/schweiz/article1
(where article1 is the xml file with the content)

This fills the article.html file dynamically with the xml content.

The above link is placed on an article overview page, which has the URL
/privat/schweiz/index.html

The folder "schweiz" is part of the navigation.

My problem: The article.html file is placed in a folder /privat/articles, 
which is _not_ included in the navigation (as it only has the article.html 
file which serves as a empty "template" html file).

What I want to achieve is to copy on the fly the navigation from the 
index.html file into the newly created article.html file. The problem is that 
I do not have any reference to the calling index.html file.

This is quite difficult to explain, but maybe still someone can help me. I do 
not want to use frames!

Thanks & regards,
Ulrich



More information about the opencms-dev mailing list