dont show empty metadata in table template
-
When I show a project with datasets, in table template, that have some empty value don’t write the td code for this cell.
Then it shows a wrong table, because if you have an empty value in the column two, the value in the column three in this row is drawn in the second column.I have edit the core file to add the td code:
In file projectmanager/lib/core.php line 2422 I have added} elseif ( empty($meta_value) ) { if ( !empty($output) && ($output == 'td') ) $out .= "<$output class='".implode(" ", $classes)."'>?</$output>"; }
There is another solution?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘dont show empty metadata in table template’ is closed to new replies.