Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Icon variables, how do I...?

Quote Reply
Icon variables, how do I...?
With locked threads and sticky threads, an extra icon is added. I want this icon to replace the status icon.

How can I do this? Here is the relevant section from the forum_view template:

Code:
<%-- This gives the appropriate Icon and IconAlt variables --%>
<%GForum::Post::status_icon($post_thread_hot, $post_new, $post_replies, $new_replies)%>
<nobr>
<img src="<%image_url%>/<%Icon%>" alt="<%IconAlt%>" title="<%IconAlt%>" border="0" width="13" height="15">
<%if post_locked%>&nbsp;
<img src="<%image_url%>/locked.gif" alt="This thread is locked" border="0" width="11" height="15">
<%GForum::Template::store_gvars(legend_locked => 1)%>
<%endif%>
<%if post_sticky and not post_root_id%>
<font size="-2">&nbsp;</font>
<img src="<%image_url%>/sticky.gif" title="Sticky thread" border="0" width="13" height="15">
<%GForum::Template::store_gvars(legend_sticky => 1)%>
<%endif%>
</nobr>
Subject Author Views Date
Thread Icon variables, how do I...? ArmyAirForces 2856 May 24, 2003, 3:17 PM
Thread Re: [ArmyAirForces] Icon variables, how do I...?
Jagerman 2811 May 24, 2003, 3:23 PM
Post Post deleted by ArmyAirForces
ArmyAirForces 2789 May 24, 2003, 3:35 PM
Thread Re: [Jagerman] Icon variables, how do I...?
ArmyAirForces 2785 May 24, 2003, 3:41 PM
Thread Re: [ArmyAirForces] Icon variables, how do I...?
ArmyAirForces 2799 May 24, 2003, 4:46 PM
Post Re: [ArmyAirForces] Icon variables, how do I...?
Jagerman 2780 May 24, 2003, 6:18 PM