First of all, thank you for the nice work!
However, I've found a few roadblocks.
I'm only working with 1 date field, but I want to show it in 4 different formats. For instance, I have the following fields:

  1. Date: From date Day and Month
  2. Date: To date Day and Month
  3. Global: Custom text (field 1 + field 2)
  4. Date: From date Time Only
  5. Date: To date Time Only
  6. Global: Custom text (field 4 + field 5)
  7. Taxonomy: All Terms image
  8. Node: Title

Now If I exclude from display my Date fields, my custom fields will appear empty. However, if I don't exclude them, they all show up.
I know that I can use CSS to hide them but the extra markup makes me icky. Is there a way to prevent the markup but still get the results needed?

Thanks!

Comments

rjb’s picture

Assigned: Unassigned » rjb

I just removed an apparently unneeded check for excluded items in my module, but still there seems to be a problem with accessing excluded fields. It looks like views is clearing those items, which is not what we want. I'm not sure how to solve this yet, but I am working on it.

rjb’s picture

I just found the problem. It is a bug in the calendar module, see http://drupal.org/node/382852. The patch in comment #34 should do the trick. Please let us know how it works out.

Cheers,
Ronald

mariomc’s picture

It works no problem.

Also you could modify the module to not process empty labels as well?

Thanks a lot!

rjb’s picture

Thanks! Sorry for the late reply.
If you mean removing divs containing empty labels, no problem. I'm not sure though what the advantage of this would be.

rjb’s picture

Status: Active » Fixed

The new 6.x-1.8 release leaves out empty labels. IE renders better this way.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.