Announcement

Collapse
No announcement yet.

Category BB Variable

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

  • Category BB Variable

    Hey,

    I would like to know what code is used to show the Category name and description. Ive tried $forum[title] and $forum[description] but its not showing. Can anyone tell me what is needed.

    Thanks in advance.

  • #2
    Where are you trying to show this? vB variables are not parsed in all templates.
    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


    • #3
      Well its the category table :

      PHP Code:

      <table background="http://www.wsleague.com/jtdesign/forums/blue/top_center.gif" border="0" cellpadding="0" cellspacing="0"  width="100%" height="27" align="center">
        <
      tr id="cat">
          <
      td width="19" height="27" align="left" valign="top">
          <
      img src="http://www.wsleague.com/jtdesign/forums/blue/top_left.gif" alt="" width="19" height="27" border="0"></td>
          <
      td width="100%" height="27" valign="middle">
          <
      p align="center"> <a href="forumdisplay.php?forumid=26">
      <
      font face="verdana,arial,helvetica" size="1" ><b><!--I WANT THE CATEGORY NAME HERE--></b></font></a></td>
           <
      td width="19" height="27" align="right" valign="top">
          <
      img border="0" src="http://www.wsleague.com/jtdesign/forums/blue/top_right.gif" width="19" height="27"></td>
        </
      tr>
      </
      table

      Comment


      • #4
        If $forum[title] and $forum[description] aren't working then I'd guess they aren't being parsed in that template. What's the name of the template?

        Comment


        • #5
          the template is the default one.

          it works on other template, and i havent adjusted anything in the source code. What template is the Category table tables in. Is it forumhome forumdisplay?

          Comment

          Loading...
          Working...
          X