Hi,

is there a chance that the icon, which appears if there are new comments also will appear if there is a new topic in the forum?

I see only the function:

/**
 * @file
 * Display an appropriate icon for a forum post.
 *
 * Available variables:
 * - $new_posts: Indicates whether or not the topic contains new posts.
 * - $icon: The icon to display. May be one of 'hot', 'hot-new', 'new',
 *   'default', 'closed', or 'sticky'.
 *
 * @see template_preprocess_forum_icon()
 * @see advanced_forum_preprocess_forum_icon()
 */
?>
<?php if ($new_posts): ?>
  <a name="new">
<?php endif; ?>

<span class="<?php print "topic-icon topic-icon-$icon"; ?>"><?php print "$icon"; ?></span>

<?php if ($new_posts): ?>
  </a>
<?php endif; ?>

but there is no variable like: new_topics in this file..
who can I add this?

thanks
mathias

Comments

michelle’s picture

Status: Active » Postponed (maintainer needs more info)

I'm not understanding you... You want the icons on topics to change if there's a new topic anywhere in the forum? That doesn't make sense. Can you clarify, please?

Michelle

michelle’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No response.

Michelle

michelle’s picture

Issue summary: View changes

added code tag