PDA

View Full Version : How do I make empty topics (caused by default post icon) disappear?


Ogmuk
04-30-2009, 06:32 PM
Hi,

I'd like to use a default post icon but not for replies to threads because it simply doesn't look as neat to have the default icon above each reply. Is there a simple style change that makes the icon (and topic line) disappear or is there some option that I'm overlooking to accomplish this? I'll attach a screenshot to show what I mean.

Thanks!

Lynne
04-30-2009, 06:41 PM
You can try changing this line in the postbit_legacy:
<if condition="$show['messageicon'] OR $post['title']">

To this:
<if condition="$show['messageicon'] AND $post['title']">

See if that works. (I haven't tested this.)

Ogmuk
04-30-2009, 07:34 PM
Works perfect. Thanks! Makes me wonder why it's not AND by default. :)