… or am I missing something?

Dear Magnolians

About a month ago Cedric Reichenbach posted saying that he could not inherit 
the stage from a parent page. I tried this too and also failed miserably. Today 
I spent quite some time debugging to code and found out, that 
TemplatingFunctions.inherit() only inherits nodes if

a) the node has a "inheritable" property set to true (which can be arranged)
b) is of the type mgnl:component (even with 
ConfiguredInheritance.AllComponentsInheritancePredicate!)

This completely breaks inheritance for everything except the STK components 
with the "inherit" checkbox! How are you supposed to inherit an area node (type 
is mgnl:contentNode)? As mentioned above: Am I missing something?

I think in it's default behavior TemplatingFunctions.inherit() should inherit 
everything. For the STK component inheritance (e.g. in the extras area) the 
inheritance could still be limited to a certain type or whatever. Any opinions 
on this?

-will

----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to