The problem with the commons origins theme
it makes easy things hard to do and to manage.

Say it I want field label on from to say "Describer your self"
and on the view say "about me"

As soon you switch on display suite the
override vanish and has to be styled all over again.

or you have to make loads of different functions such as

function commons_origins_views_pre_render(&$view) {

switch ($view->name) {
case 'default':

// do some logic for your label
$label = 'About Me';

// define the label value
$view->field['body']->options['label'] = $label;
break;
}
}

Using display suite would make
things easier and commons easier to custom too

Comments

charlie charles’s picture

Title: Using Display Suite Instead of relying on Template.php order rides » Using Display Suite Instead of relying on Template.php over rides
ezra-g’s picture

Status: Active » Postponed (maintainer needs more info)

Adding Displaysuite in Commons 7.x-3.x is unlikely because it would constitute an API change. Is there something we could do to make the theme more compatible with DisplaySuite?

Do you intend to use DisplaySuite along with Panels and Panelizer?

charlie charles’s picture

I'm using display suite to override
the search index and add my own custom view modes

I hope in drupal 8 we can do most jobs
that we depend on panelizer and display suite to do.

If there's module that are sharing same type of
features to fix same type of problems.
Then these features will be better as apart of drupal core.

then display suite and panelizer only used for specific user cases
instead of being the main drupal design tools

That's one of the things on my drupal wish list! :)

lsolesen’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)
Issue tags: -theme

@ezra-g replied and it is probably highly unlikely that Display Suite will be added. Since nobody else answered this issue, I am going to set this to Won't fix.

lsolesen’s picture

Status: Closed (won't fix) » Active

Closed by mistake. This might still be a valid issue. Please close it with the solution, if you already solved it.