• Resolved klflote

    (@klflote)


    First, thank you for query wrangler — I don’t think I could have survived leaving Drupal without it.

    I have a query that I am outputting as a table, and if the fields are empty, I would like not to output them. If I click on the hide if empty box for that field, then the table cell is omitted, and the remaining cells on the row are shifted by one.

    The problem is that I also have a rewrite output rule set for that field. So I can’t leave the “hide if empty” unchecked, or the rewritten output is produced (with no data where the field would be substituted). I really just want it to output an empty cell (<td></td>).

    Am I missing some other way of doing this? For the time being, I have modified includes/theme.php to set

    $row['fields'][$field_name]['output'] = '';

    if the field is supposed to be hidden.

    https://www.ads-software.com/plugins/query-wrangler/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘hide if empty and table output conflicting’ is closed to new replies.