Announcement

Collapse
No announcement yet.

Forum Header Under First Category

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Forum Header Under First Category

    I've done a search on here on how to move the forum header under a category, but each method posted puts the header under EVERY category..I would like to have it only under the first category, can anyone help me? Thanks in advance.

  • #2
    *bump*

    Comment


    • #3
      Please wait 24 hours before bumping your posts.

      This can probabbly be done with template conditionals. Here is the online documentation for using template conditionals:

      http://www.vbulletin.com/docs/html/m...e_conditionals
      Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
      Change CKEditor Colors to Match Style (for 4.1.4 and above)

      Steve Machol Photography


      Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


      Comment


      • #4
        Thanks Steve, I looked at that page but I'm a little confused on how I can use template conditionals to move the forum header. Is there an easier way to do this like just moving the header chunk of code in the FORUMHOME template to a different place? I'm still sorta new to vB =/

        Comment


        • #5
          Forum header like this?

          http://www.vbulletin.com/forum/showthread.php?t=121427

          You can surround the red code with the blue conditional:

          Code:
          <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
            </td>
           </tr>
          </tbody>
          
          <if condition="$forum[forumid] == X">
           <tr align="center">
             <td class="thead">&nbsp;</td>
             <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
             <td class="thead" width="175">$vbphrase[last_post]</td>
             <td class="thead">$vbphrase[threads]</td>
             <td class="thead">$vbphrase[posts]</td>
             <if condition="$vboptions['showmoderatorcolumn']">
             <td class="thead">$vbphrase[moderator]</td>
             </if>
           </tr>
          </if>
          
          <if condition="$childforumbits">
          <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
          $childforumbits
          </tbody>
          </if>
          Where X is the forumid of the category.

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X