Hi Henrik
Just my 2cts: Try to NOT thing of a page in the typical classic way
(so a .html file). Try to look at a "page" as an "address-entry" to
some content. Look at it as some kind of "under this node I will store
content elements a, b, c".
Once you start moving to this kind of "repository" thinking, you go a
step further and think of a JSP as creating the response to a browser
request. That's basically the purpose of the template script.
So when you create a new "page" in AdminCentral, you are actually
doing nothing else then defining a content "object" (or container) and
assign a "script" to create the http-compliant response, the template
script.
This means that every "page-request" is answered by a script, the
template script. This gives you an enormous flexibility on how you
want to handle the request, because your script can do anything, also
redirect pages.
In addition you can break-down template scripts into "paragraphs".
Paragraphs are similar: you define a paragraph "page" and use the
paragraph script to "create the response". This concept gives you yet
more flexibility, because now you can modularize your template.
But you are actually talking about a navigation or menu. So what you
can of course do is write your own navigation paragraph (e.g. using
CSS formatted UL and LI tags, iterate through child pages and perhaps
add content elements for additional links or formats). The other
option is to follow the idea mentioned above and create a "Redirect
Template". The author can enter the external link and the template
script will redirect the request to that specific link. This way you
can of course create your own navigation label.
More complex would be to add a "redirect" content element in the Page
Properties dialog. If there is a value, redirect to that value.
Cheers
Giancarlo
On Feb 26, 2009, at 3:16 AM, Henrik Eriksson wrote:
Hi!
Is there any easy way to create a page-node that works as a link to
an external page?
//Henrik
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------