An empty cell starts the grid (top left), it's strange, I don't know what happen.

Comments

Anonymous’s picture

here's the code generated

<div class="block block-views" id="block-views-Discs">
    <h2 class="title">Ecoutez aussi...</h2>
    <div class="content"><div class='view view-Discs'><div class='view-content view-content-Discs'><table class="view-grid view-grid-Discs"><tr><td class='view-grid-item'><div class='view-item view-item-Discs'><div class='view-field view-data-node_data_field_pochette_du_disque_field_pochette_du_disque_fid'></div></div></td>

<td class='view-grid-item'><div class='view-item view-item-Discs'><div class='view-field view-data-node_data_field_pochette_du_disque_field_pochette_du_disque_fid'><img src="/da2/files/imagecache/small/files/daedelus_exquisitecorpse_b.jpg" alt="" title=""  /></div></div></td>
<td class='view-grid-item'><div class='view-item view-item-Discs'><div class='view-field view-data-node_data_field_pochette_du_disque_field_pochette_du_disque_fid'><img src="/da2/files/imagecache/small/files/B0006212MM.08.MZZZZZZZ.jpg" alt="" title=""  /></div></div></td>
<td class='view-grid-item'><div class='view-item view-item-Discs'><div class='view-field view-data-node_data_field_pochette_du_disque_field_pochette_du_disque_fid'><img src="/da2/files/imagecache/small/files/B0009HLBGQ.08.MZZZZZZZ.jpg" alt="" title=""  /></div></div></td>
</tr><tr><td class='view-grid-item'><div class='view-item view-item-Discs'><div class='view-field view-data-node_data_field_pochette_du_disque_field_pochette_du_disque_fid'><img src="/da2/files/imagecache/small/files/6825_0.jpg" alt="" title=""  /></div></div></td>
<td class='view-grid-item'><div class='view-item view-item-Discs'><div class='view-field view-data-node_data_field_pochette_du_disque_field_pochette_du_disque_fid'></div></div></td>
</tr></table></div></div>
</div>
 </div>

Anonymous’s picture

I've added more nodes and now there aren't any empty cell anymore but only 3 thumbnails are displayed and there should be 6 or 9...
what's wrong ?

Anonymous’s picture

IN fact the empty cells depend on the total number of nodes on the website. Amazing :-/

merlinofchaos’s picture

Very strange. Do you maybe have some nodes that have no content, accounting for the empty cells? Try changing the view back to a teaser view, for example, and seeing if the results are different?

Anonymous’s picture

The problem solved itself, I don't know how but now it's working. Strange...

dmitrig01’s picture

Title: empty cells with Grid Layout » Empty cells in Grid Layout
Status: Active » Fixed

maybe not enough content?

Anonymous’s picture

Status: Fixed » Closed (fixed)