I have created a view mode specific and I have placed a block field in this view mode. Suddenly the block was not visible... I don't know why ? I have tested with block views with block from module and a block from the core... no blocks are visible in this view mode.

I have created a new view mode and assign my blocks ... and it doesn't work

When I put my block in default display, I see the content of my block :(

what's wrong ?

Comments

pixelpreview@gmail.com’s picture

Issue summary: View changes
pixelpreview@gmail.com’s picture

in fact code field don't work, I try with another type of field and I have the same behaviour :(

pixelpreview@gmail.com’s picture

I have found the problem, I have updated the revisioning module ! And after that the blocks in view custom mode don't work ! :(((

pixelpreview@gmail.com’s picture

The problem occurs since the release 1.6 from revisionig module. They are included modifications about content access : https://www.drupal.org/node/2135257
since display suite with custom view mode and block or code or preprocess field don't work for me. When I downgrade my version of revisioning under 1.6, display suite works without problems.

Do you have an idea to correct the problem in display suite with custom view mode ? Only the default view mode work for me with a newer version of revisioning

Ouach’s picture

Hi,
The Jeroen's solution in https://www.drupal.org/node/2304917 worked for me.
For those who, like me, didn't undestood what he said, the solution is to change the column 'weight' of the record 'ds_extras' from '2' to '7' in the table 'system'.
But doing this is not enough. You also have to recreate the table 'menu_router'.
Like that ds_extras will override the column 'page_callback' of the record 'node/%' and place 'ds_extras_node_page_view' in it.
To do that, I made an update that can be something like this:

/**
 * Resolve conflict between ds and revisioning
 */
function ds_update_7204() {

  db_update('system')
    ->fields(array('weight' => '7'))
    ->condition('name', 'ds_extras')
    ->execute();
}

Can it be integrated in your module?
Thanks.

Sneakyvv’s picture

Status: Active » Closed (duplicate)
Related issues: +#1919452: Conflict between view mode per node and revisioning