Display subforums in two columns

Small Modifications, not big enough to deserve a .xml-Instruction.

Display subforums in two columns

Postby nickvergessen » Mon Dec 22, 2008 3:20 pm

open: styles\prosilver\template\forumlist_body.html
find:
Code: Select all
<!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS --><br /><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}<!-- ENDIF -->

replace with:
Code: Select all
               <!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS --><br /><strong>{forumrow.L_SUBFORUM_STR}</strong>
                  <!-- BEGIN subforum -->
                     <span class="<!-- IF forumrow.subforum.S_ROW_COUNT is odd -->column2<!-- ELSE -->column1<!-- ENDIF -->"><a href="{forumrow.subforum.U_SUBFORUM}" class="subforum <!-- IF forumrow.subforum.S_UNREAD is odd -->unread<!-- ELSE -->read<!-- ENDIF -->">{forumrow.subforum.SUBFORUM_NAME}</a></span>
                  <!-- END subforum -->
               <!-- ENDIF -->


Screenshoot:
227
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Return to Snippets

Who is online

Users browsing this forum: No registered users and 1 guest

 

cron