Box_grey node.tpl.php will display the phase ( categories: ) even if your site or that node has none assigned. This looks silly.

This patch adds an IF around it to prevent this.

CommentFileSizeAuthor
#4 node_38.patch380 bytessepeck
#3 node_37.patch380 bytessepeck
#2 node.tpl.php.patch380 bytessepeck
#1 node_36.patch380 bytessepeck
node_35.patch245 bytessepeck

Comments

sepeck’s picture

StatusFileSize
new380 bytes

and here's the patch with a -u switch. Oops.

sepeck’s picture

StatusFileSize
new380 bytes

And this one might actually be right with the -u and -F and in the right order.

sepeck’s picture

StatusFileSize
new380 bytes

sigh.

sepeck’s picture

StatusFileSize
new380 bytes

My patch debut is not going well. This is A, the correct file and B. with the correct line in it.

mgifford’s picture

Just wanted to echo the need for this patch. I was just about to submit a very, very similar patch.

Empty categories should not be displayed.

Mike

adrinux’s picture

Assigned: Unassigned » adrinux
Status: Needs review » Fixed

Applied, thanks.

dries’s picture

Status: Fixed » Closed (fixed)