On May 31, 2011, at 5:11 PM, Will Scheidegger wrote:
> > Dear Magnolians > > We really like the "show in subpages" feature of extras and promo paragraphs. > But now we have received the request to banish some inherited paragraphs from > some areas of the site. > > Of course one could now say: Easy - simply add the paragraphs to each branch > where they should be inherited and don't add them where they should not be > inherited. Depending on the complexity of the tree this will not be practical > however. > > Can anyone think of an easy way to stop the paragraph inheritance in certain > branches? Would not be the easiest to use at those branches the templates that do not have extras enabled? This decision is imho for the the template developer rather then for editor so I think it's fine that the feature is controlled by the template. And you can extend TemplateAvailability to ensure that the templates are available only where they should be. ... the different question is of course if you still want to have promos enabled, just don't want to inherit since given level ... then you would still need different template, but on top of that you would need to extend the Area class and ensure that the not-to-be-inherited paragraphs are not returned by that area. > From the usability point of view one should be able to get a limited edit > dialog on inherited paragraphs which only contains a "show in page and > subpages" checkbox. not sure that works ... the inherited paragraph is editable from the page from which it inherits ... so either you add the link control to the dialog of such paragraph and user need to browse the tree and select the page from which it should not be inherited any more or you need something completely different. But I don't think that checkbox will cut it. HTH, Jan > That should be rather easy... but technically? Where would you store that > info that inherited paragraph X should not be displayed on page Y? > > Any ideas warmly appreciated. Thanks! > > -will > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
