Kaarel J�gi wrote:
HelloI have been struggling with this problem several days now and dont see any other solution that to throw myself in the mercy of this mailinglist.. please, can someone more experienced enlighten me? Namely, I dont seem to understand how the merging of SG0 with other sitegroups is supposed to work. The manual just says that "SiteGroup 0 (SG0), is read-only for all other Sitegroups and merges transparently with any other Sitegroup" and goes on about how this enables having one administration interface for multiple sitegroups. This is exactly what I want to achieve, but HOW does the merging work?
Query munging in midgard-lib.
You can only share SG0 across SGs. So yes, this'd work, but you must do the sgared stuff in SG0. Which can be a bit of a pain, because you *must* have Midgard root privs to edit stuff in SG0. Which you obviously don't want to dole out.I have the interface (pages and styles) installed in SG0. Now I'd like to use this interface in several other sitegroups, which just contain a host and topic/article tree. Some of the page/style elements have to be different for different sites, because they have slightly different features.
No, it doesn't work that way. The 'merging' just means that objects of SGx and/or SG0 can have a parent in SGx or SG0; additionally, all resources in SG0 are available read-only to other SGs.How I imagined it to work is, that merging is done by name, other sitegroups overloading objects with same name in SG0. For example if SG0 had page "topic/view" then it would be used in other SG, unless there is also "topic/view" page defined in this other SG. Similarly for styles. But it does not seem to work this way.
So, how should I go about this? As a specific example, if I have:
SG0:pages:
admin-rootpage
topicpage
viewpage
<viewpage-element>
etc.
SG0:styles:
admin-rootstyle
topic-view-style
<topic-view-style-element>
etc.
What I'd like to do is to create new host in SGNEW, which used pages and
styles given above, from SG0, except I want to have a different
<viewpage-element> for this new host.
HOW? What do I set as root style and page for new SG? How do I override
this one element and use all others unmodified?
Can't do it on a page basis. Closest you would come is to crate a page
in SGx with parent 'viewpage', set all elements of 'viewpage' to
inherit, then override what you want change on the page in SGx.Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
