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
Comment #1
charlie charles CreditAttribution: charlie charles commentedComment #2
ezra-g CreditAttribution: ezra-g commentedAdding 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?
Comment #3
charlie charles CreditAttribution: charlie charles commentedI'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! :)
Comment #4
lsolesen CreditAttribution: lsolesen commented@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.
Comment #5
lsolesen CreditAttribution: lsolesen commentedClosed by mistake. This might still be a valid issue. Please close it with the solution, if you already solved it.