Page 1 of 1

Topic Types in Viewforum

Posted: Fri Oct 24, 2008 2:18 pm
by LDM
This tutorial explains how to show topic types in topics list in proSilver style, just like it is in phpBB 2. So if it is sticky, it will say 'sticky' before topic title in the topic list, and the same with announcements etc.

Open file viewforum_body.html for your template, find this:

Code: Select all

<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --> 
and before it add this:

Code: Select all

<!-- IF topicrow.TOPIC_TYPE --><strong><b>{topicrow.TOPIC_TYPE}</b></strong><!-- ENDIF -->
Refresh template files in admin after uploading file.