Hi,

thank you for very useful module.

I defined this structure

  • Horizontal tabs group
    • Horizontal tab item nb. 1
    • Horizontal tab item nb. 2
    • Horizontal tab item nb. 3

Everything works fine. But if the View field returns empty result (no related products are found) I can see Horizontal tab item nb. 3 which displays an empty page. Is is possible to hide it if View field returns nothing?

Thank you, Martin.

Comments

dornea.nu’s picture

Hi,

I have the same problem. Other posts suggest installing the dev-version of fieldgroup. This didn't help me at all and empty fields are still displayed.

hydra’s picture

Status: Active » Closed (won't fix)

Well I'm very sorry about that. I tryed a bit, but since we are adding the fieldgroups before rendering, we can't know, if there is content. Apparently there is a function to check whether the field is empty (hook_field_is_empty) but it can't know if the content of the field is empty. I tryed it with viewsfield and it did not work. So I'm very sorry but atm, afaik this cant't be fixed. If you find a solution, please share it!