>
>
>>A more advanced version like "mgd_switch_style("/path/to/style")" which
>>loads the corresponding style would also be good as a _second_ way to
>>use Layout elemnts of other trees.
>>
How about $midgard->style=$id or $midgad->switchstyle($styleguid) ?

Tarjei

>
>Doable, with the MMP bits that are in midgard-lib. You would need a new
>function to clear the current syule contect (easy enough), and then call
>mgd_load_style and mgd_parse to create a page that would be executed.
>This would most likely need to be done in core, so it might be faster
>than mgd_eval, but it's not going to be equally fast as the cached
>files.
>
>BTW, please think about all these new things in the context of MMP. I'll
>maintain non-MMP only long enough to allow MMP to stabilize. When I feel
>MMP is stable enough, I'm not going to support non-MMP anymore. Someone
>else is free to do so, but personally, I think having two branches is
>not a plus.
>
>Emile
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>



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

Reply via email to