This section contains detailed articles elaborating on some of the common issues phpBB users encounter while using the product. Articles submitted by members of the community are checked for accuracy by the relevant phpBB Team. If you do not find the answer to your question here, we recommend looking through the Support Section as well as using the Site Wide Search.

prosilver forum legend

Description: Quick tutorial for adding a forum legend to prosilver's index page.

In Categories:

Link to this article: Select All
[url=https://www.phpbb.com/support/docs/en/3.0/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.

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.
  • 20121121 - Mick removed dead link for preview at request of author.