-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Emiliano.
- --On 06.03.2002 16:55:54 +0100 Emiliano wrote: >> 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. > > Easy, that's just a few lines of code, given that you have the style > element ID at hand. Element ID's bad... It has to be name based, otherwise using it for the component system is not possible. What I was thinking of roughly is like this: MidComs bring ther own basic layout with them, encaspuleted in snippets like you would do it with style elements (see draft). The end user now has to have the chance to take over layouting. The first idea was, that the user modifies the snippets directly. We came to the conclusion, that this would work, but would bring a considerable administrative load with it, especially if your html-guru must only do exactly this: building html. You'd have to assign group membership for every layout snippetdir in every component. If you share components between sitegroups, this might be impossible. So the idea of "routing" the request to a real style. This style has elements with exactly the same names as the snippets in the layout tree. A set of custom function then fetches this element. (Even support of style element inheritance is planned.) Because this is not trivial, the idea of putting this logic into Midgard lead me to the "<[/path/to/style/element]>" approach, using clear text names as only possible reference to the element (what could be replaced with IDs (or GUIDs at least) would be the reference to the style itself. But even there the path would be preferable). >> 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. > > Nothing said so far was MMP or non-MMP specific, but I wanted to set > focus before it would. OK. Just tell me, if I miss some new feature ;) 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 iD8DBQE8hkFTJPh4Kn6d5FYRAiDQAKDtmPD9xxBfYNhggVLkrAIQqRvlggCfWBRx AwOQ+VEVYJW2FQ8kgBclyB8= =+HO8 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
