Closed (fixed)
Project:
Advanced Forum
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2010 at 18:43 UTC
Updated:
24 Feb 2010 at 14:13 UTC
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
Comment #1
michelleI'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
Comment #2
michelleNo response.
Michelle
Comment #2.0
michelleadded code tag