Attribute Inheritance?

Permalink 1 user found helpful
A common design pattern I come up against is that I would like to set an attribute at some level in the page architecture and have any pages beneath it inherit that value if none is supplied on those pages.

Seems like a possible feature for future release, a checkbox when creating an attribute: "allow inheritance".

Just a thought. I know the effect can be achieved through code too.

Saltwater
 
frz replied on at Permalink Best Answer Reply
frz
thats a good idea. we have a number of similar ideas in the works around attributes for the next version, so yeah expect to see them get a bit more graceful across the board.
Saltwater replied on at Permalink Reply
Saltwater
The hits keep on coming, Franz!
-Grif
clintre replied on at Permalink Reply
clintre
Wanted to resurrect this to see if this was still in the plans. I could not find it in 5.5.

It would be a huge benefit for when you are building large sites where you have many sub categories / levels or groups of like content. Especially if there are pages generated from add-ons like news, blogs, events, etc. Where when you post something it creates a new page. In those cases you do not want to have to go set a custom attribute on every sub page.
frz replied on at Permalink Reply
frz
so not default attributes by page type, but rather attributes inheriting
down the tree somehow?

that's not on our radar at the moment.

best wishes

Franz Maruna
CEO - concrete5.org
http://about.me/frz
pendragn replied on at Permalink Reply
pendragn
Hi Franz (or anyone),

Wanted to clarify something.....if an Attribute is set on a Page Type AFTER many pages of that type are created already, will the new Attribute show up on the existing pages?
frz replied on at Permalink Reply
frz
No, I do not believe they do. They're set for new pages following that type.
best wishes

Franz Maruna
CEO - concrete5.org
http://about.me/frz