Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Mar 2009 at 11:28 UTC
Updated:
19 Mar 2009 at 14:10 UTC
I have more than 10 displays of my view GerelateerdeContentNode.
The block for the first 9 displays gives a nice
From the 10 display on I get (so some cache value which I don't trust for theming):
Comments
Comment #1
hansrossel commentedSorry, forgot the code filter:
So for the first 9 blocks:
And from 10 on:
Comment #2
merlinofchaos commentedDrupal's block system only supports 32 characters for the 'delta' which is the ID of the block. However, Views have a possible of 65 characters total: The view name which can be 32 characters, and the display ID which can be 32 characters, and the dash that goes between them to separate them.
If the total of the view name + the display ID is 33 characters or more, in order to make this work Views converts it to an md5, which is 32 characters. Unfortunately this is also used in the block IDs. Thus, you get the ugly md5 rather than the nice block_10 that you really want.
You need to use shorter view names to make this work.
Also, 10 blocks in a single display is probably more than you really want. The UI is not efficient at dealing with a lot of different displays. I would only do this if they are all very similar with minor overrides.
Comment #3
hansrossel commentedThanks for the very clear explanation. I will try to use shorter views names, but it's good to know that it's not a cache value but a converted md5 value, so safe to use in css as it will not change.