Knowledge Base

prosilver forum legend
Article ID: 945
Written By: _Vinny_
Written On: Fri Feb 26, 2010 6:08 am
Description: Quick tutorial for adding a forum legend to prosilver's index page.
link to this article on phpbb.com: Select All
[kb=prosilver-forum-legend]prosilver forum legend[/kb]
link to this article on your own board: Select All
[url=http://www.phpbb.com/kb/article/prosilver-forum-legend/]Knowledge Base - prosilver forum legend[/url]

In this article, we will adding a forum legend displaying the read, unread, and locked forum icons to the bottom of prosilver's index page. Here is a preview of our final result: click here.

Let's begin! Open the file styles/prosilver/template/index_body.html and search for:
Code: Select all
<!-- INCLUDE overall_footer.html --> 


Before add:
Code: Select all
<div class="panel bg1" style="text-align: center;">
    <div class="inner"><span class="corners-top"><span></span></span>
        <img src="{T_IMAGESET_PATH}/forum_unread.gif" alt="{L_NEW_POSTS}" />&nbsp;&nbsp;{L_NEW_POSTS}&nbsp;&nbsp;
        &nbsp;&nbsp;<img src="{T_IMAGESET_PATH}/forum_read.gif" alt="{L_NO_NEW_POSTS}" />&nbsp;&nbsp;{L_NO_NEW_POSTS}&nbsp;&nbsp;
        &nbsp;&nbsp;<img src="{T_IMAGESET_PATH}/forum_read_locked.gif" alt="{L_FORUM_LOCKED}" />&nbsp;&nbsp;{L_FORUM_LOCKED}
    <span class="corners-bottom"><span></span></span></div>
</
div>
<
br />
 


Refresh your template - ACP => Styles => Templates.

  • 20100225 - rewritten by prototech and updated code snippet to conform to XHTML standards.