Emiliano wrote:
> > in <[code-init]> (or friends) as opposed to the begin of the page? I
> > know that the former is parsed before the root page is being fetched,
> > but what difference does it actually make?
>
> While I can't comment on your specific example without further context,
> setting up variables in the code-init element allows them to be used in
> the styles and page templates from which you don't know where they'll be
> coming from yet. IOW: you're setting up a context for the layout phase.
Ah, ok. Makes sense.
> > can active pages have sub-pages?
>
> Yes thay can.
But there is ambiguity. Suppose I have the hierarchy
thispage/sub-page
whith thispage being active. What happens if someone tries to load
thispage/sub-page.html ?
Will he get sub-page or thispage with $argv[0]=="sub-page.html" ?
Is there some precedence system to solve ambiguity?
Frank
--
Dr Frank Boehme | Email: [EMAIL PROTECTED]
National University of Ireland, Cork | phone: +353-21-903163
Dept of Computer Science | fax: +353-21-903113
Cork, Ireland |
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]