Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
pixelpreview@gmail.com CreditAttribution: pixelpreview@gmail.com commentedComment #2
pixelpreview@gmail.com CreditAttribution: pixelpreview@gmail.com commentedin fact code field don't work, I try with another type of field and I have the same behaviour :(
Comment #3
pixelpreview@gmail.com CreditAttribution: pixelpreview@gmail.com commentedI have found the problem, I have updated the revisioning module ! And after that the blocks in view custom mode don't work ! :(((
Comment #4
pixelpreview@gmail.com CreditAttribution: pixelpreview@gmail.com commentedThe 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
Comment #5
Ouach CreditAttribution: Ouach commentedHi,
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:
Can it be integrated in your module?
Thanks.
Comment #6
Sneakyvv CreditAttribution: Sneakyvv at Calibrate for SCIA commented