How do I hide one word from a view result column I have a view which displays content overview using a table. I have joined two columns, a and b, in the table.



I want the column to display like the red square... currently they show as the red ellipse. Column a is "moderation state" and column b is "publish time".
Since I want to display an item from two different tables, I used an if-else statement.

if ($row-&gt;state == 'published') {
  echo "$date"; 
}
else {
  echo "$row-&gt;state";
}