Hi Dan,

Dan Stromberg schrieb:
What is a good (hopefully simple) way of redirecting a lenya page to another page outside of lenya?

there are basically two approaches:

1. Create a "redirect" resource type (maybe we should add this to the repo since it seems to be a common usage scenario). This is quite straightforward. The source could look for instance like this:

  <redirect xmlns="…" uri="http://www.foo.com"/>

You can edit the document with the source editor or write a simple usecase to change the uri attribute. An XSLT transforms the source into a <meta http-equiv="refresh"/> element.

2. In the upcoming version 2.0.2 it will be possible to assign external URLs to sitetree nodes, so clicking on a navigation item will lead you to an external page. This functionality is already used on the Lenya website.

HTH,

-- Andreas


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


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

Reply via email to