Closed (works as designed)
Project:
Views Fluid Grid
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jul 2010 at 15:47 UTC
Updated:
13 Jul 2010 at 21:06 UTC
Hi,
Some of the fields I fed to Views Fluid Grid are empty so, in the field settings, I specify "Hide if empty". However, Views Fluid Grid still displays little empty squares :-(
See attached picture.
Excerpt of the code:
<ul class="views-fluid-grid-list">
<li class="views-fluid-grid-inline views-fluid-grid-item views-row views-row-1 views-row-odd views-row-first"></li>
<li class="views-fluid-grid-inline views-fluid-grid-item views-row views-row-2 views-row-even"></li>
<li class="views-fluid-grid-inline views-fluid-grid-item views-row views-row-3 views-row-odd"></li>
<li class="views-fluid-grid-inline views-fluid-grid-item views-row views-row-4 views-row-even"></li>
| Comment | File | Size | Author |
|---|---|---|---|
| vfgrid.JPG | 10.27 KB | vacilando |
Comments
Comment #1
vacilando commentedComment #2
markus_petrux commentedShouldn't this be approached using Views filters?
Note that if we hide cells during the rendering phase, there may be pages with very little items in them, or even empty. However, this side effect should not happen when using filters.
Thoughts?
Comment #3
vacilando commentedYes, you are right, markus_petrux. Took me some time to properly realize that emptying is not the same as hiding, at least not in Views 2. The empty fields need to be filtered out. Also merlinofchaos said that (very) loud and clear here.
Comment #4
markus_petrux commented:)