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>
CommentFileSizeAuthor
vfgrid.JPG10.27 KBvacilando

Comments

vacilando’s picture

Project: Views Fluid Grid - jQuery Masonry » Views Fluid Grid
Version: 6.x-1.3 » 6.x-1.1
markus_petrux’s picture

Status: Active » Postponed (maintainer needs more info)

Shouldn'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?

vacilando’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Yes, 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.

markus_petrux’s picture

:)