> Arne Schirmacher wrote:
>
> > One last question: Can I set the style for a page dynamically somehow? I
> > have an active page of the form /topic/, which uses one style,
> > and the pages of the form /topic/article123.html should use another
> > style. Currently I have merged both styles into one style document and I
> > select the appropiate one with an "if ($flag) {" construction, but this
> > does not feel right. I would rather like to set the style explicitely
> > in the piece of code where I handle the argv[] arguments.
Just define more root styles either on page level or in the style section.
For the pages that need another style just add a page element ROOT and
define it as you like (just like the root in the style section).
Dick
----- Original Message -----
From: "Emiliano" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 24, 2000 9:43 AM
Subject: Re: [midgard] I need a "theory of operation" document
>
> Can't be done in 1.4. The style is collected as the first part of the
> page construction process, long before any code is actually executed.
> The PHP4 implementation probably will be able to do this though, now
> that I think of it. Anyway, what you could do to get this effect is to
> have a page /topic/, active or otherwise, with one style, and
> /topic/article/ (probably active) with another.
>
> Emile
>
>
> --
> 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]
>
--
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]