When I enable feature which imports content types everything goes fine. But I'll need to enable custom display settings by hand. Not that big of a deal, when theres only few content types but when I have 10 content types and about 20 sites. It gets kinda annoying.

Comments

mike_yang’s picture

I just ran into the same issue.

If you enable the Strongarm module, and when you create the feature make sure to select the field_bundle_settings under the Strongarm component list, the custom display settings would be properly exported.

mike_yang’s picture

Just a followup to my comment...

When I installed the feature with the Strongarm controlled field_bundle_settings, I can't access the editing page for the custom display anymore. This was done using a freshly installed site by the way.

Anyone else saw this problem?

So for now I'll have to use GloGi's solution of manually toggling the display settings on my site. Sorry for the false hope!

tcmug’s picture

Priority: Normal » Major

I'd say this is a major bug.

mpotter’s picture

Confirming that this is still an issue. Custom display settings do not get exported. For example, enable the RSS feed for the content type display. When importing, the individual field information is correct, but the content type does not have the RSS display type enabled. After manually enabling the RSS type, then the proper fields are shown in the display.

Exporting the strongarm "field_bundle_settings" didn't help, but also didn't cause any problems with editing.

febbraro’s picture

Status: Active » Closed (duplicate)
jec006’s picture

Status: Closed (duplicate) » Active

This does not appear to be a duplicate of that issue.

The issue here is that features does not export custom display settings (i.e. setting search_result to be custom). This isn't a problem with how it is exported, simply that its not exported at all.

This remains a major issue from my testing.

jec006’s picture

Status: Active » Fixed

Alright - actually, despite the comments above - export field_bundle_settings does indeed export these settings and seems to work fine.

Back to fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

michaellenahan’s picture

Issue summary: View changes

Even though this issue is closed, I'm adding a note for those who come across this page via a google search:

The variable 'field_bundle_settings' is not the one you should export (since 7.14 this changed: https://www.drupal.org/node/1306924)

You should find the field_bundle_settings for the node bundle (content type) to which you have added your view_mode.

For example, if you have added a view_mode to a 'news' bundle (content type) then you need to export this variable:

field_bundle_settings_node__news

RAWDESK’s picture

Thanks @michaellenahan
Useful tip. I couldn't find the little culprit inside the recreate UI