Easiest solusion is to use headBASE href=../head in your
generated pages
Ivan.
P.S. http://www.w3.org/TR/REC-html32.html#base
On Mon, 2002-08-19 at 23:42, Koen Pellegrims wrote:
Guys,
This is something that most of you *must* have come across at one point or
another, and I am just
Make all your links relative to the root directory
Eg
/index.html
/products/productA.html
-Original Message-
From: Koen Pellegrims [mailto:[EMAIL PROTECTED]]
Sent: 19 August 2002 21:43
To: Cocoon-Users@Xml. Apache. Org
Subject: Common practice: how to keep links to html-trees
From: Whalley, Anthony [mailto:[EMAIL PROTECTED]]
Make all your links relative to the root directory
Eg
/index.html
/products/productA.html
In this case browser interprets your links relative to the host and not the
application context. You should perform a transformation to generate
practice: how to keep links to html-trees consistent
Easiest solusion is to use headBASE href=../head in your
generated pages
Ivan.
P.S. http://www.w3.org/TR/REC-html32.html#base
On Mon, 2002-08-19 at 23:42, Koen Pellegrims wrote:
Guys,
This is something that most of you *must* have come
I don't know of any Cocoon specific solutions, but it's been a habit for
some time now to start any URL with '/', denoting the root of the site.
The only exception being context-sensitive navigation, but that is
another subject ;-)
Cheers,
Manos
Koen Pellegrims wrote:
Guys,
This is
Koen Pellegrims wrote:
Menu on my site that contains a link to the index-page (index.html) and
links to (among others) a product-page. In the page-hierarchy, the
product-pages are contained within a 'products' directory.
...
The problem arises when I display this menu on a product page,
Hi,
This is relatively easy to do with XSL.
You can mirror your site structure in XML (produced dynamically or
manually). Say it turns out to be something like:
folder id=f123 name=aaa label=blah1
page id=p123 label=blah2/
folder id=f234 name=bbb label=blah3
page id=p234 label=blah4/
to keep links to html-trees
consistent
why don't you use absolute references?
/index.html
/products/productA.html
/products/productB.html
-Original Message-
From: Koen Pellegrims [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 4:43 PM
To: Cocoon-Users@Xml. Apache. Org