I'm working with a lot of content types,
some have been assigned DS layouts, some have no DS layouts at all,
and yet they all seem to be labeled with the "Normal" status...

Looking at the code there seem to be 3 things that ds_settings_status() can return: Normal, Default, Overridden...

What's the difference between Normal and Default?
And in which case is a layout being labeled as Overridden?

Right now I'm guessing this might be a bug, and I'm assuming these meanings:

Default means: layout is controlled by a tpl file
Normal means: DS controls the layout of this build mode?
Overridden means: DS should control the layout but some other module or DS setting overrides this layout...

Comments

td540’s picture

"It's very hard to get a clear overview about which node layout is controlled by what, DS or a template file, ..."
... is a related complaint I hear from lots of people.

swentel’s picture

Status: Active » Closed (works as designed)

No, those settings mean this:

- normal: setings are stored in database.
- default: settings come from settings stored in code (either by features or just exported)
- overridden means that code stored in code is overriden in database

This behavior is controlled by own code in D6, CTools in D7.