-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

H again ;)

- --On 06.03.2002 15:49:18 +0100 Emiliano wrote:

>> 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.
> 
> 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.

Thats logical, but the usual trade-off you have to do in this case.
Basically I don't have a priority on this anyway, but more on the
include-an-element-from-an-other-style thing. The Layout part of the
components could greatly benifit from this.

The full style switch, perfectly well for print-this-page-things ist a
goodie for now. MidCom abstracts the site far enough, that you can do
this with subpages anyway.


> 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.

I fully agree, but I'm not really into MMP yet, working on it. I'd
greatly appreciate any advice from you, where I was not thinking
withhin MMP Context.


Live long and prosper!
Torben Nehmer

- --
Torben Nehmer, Munich, Germany
http://www.nathan-syntronics.de, mailto:[EMAIL PROTECTED]
PGP Public Key ID on wwwkeys.(de.)pgp.net: 0x7E9DE456
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org

iD8DBQE8hi/JJPh4Kn6d5FYRAsK9AJ9znxUxjYNbHoKMZBv4e40pX9AUqwCdFC8d
25FiiBufCoOIAUFe6mC7rcc=
=i3J2
-----END PGP SIGNATURE-----


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

Reply via email to