Prefix in postbit?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nando99
    Member
    • Apr 2006
    • 35
    • 3.5.x

    Prefix in postbit?

    Is there a way to show the thread prefix on the thread page - more specifically, in the postbit template? Thanks in advance....
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Code:
    {$GLOBALS[threadinfo][prefix_rich]}

    Comment

    • nando99
      Member
      • Apr 2006
      • 35
      • 3.5.x

      #3
      Hey - not sure if that works...

      I'm trying to do a template conditional.

      I'm using:

      Code:
          <if condition="$GLOBALS[threadinfo][prefix_rich] == 'XXX'">
      testing
      <br />
      </if>
      and its not showing when I view a thread with the prefix.... I've tried it in the postbit template....

      Thanks in advance....

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #4
        Debug it to make sure you are checking the correct value. Add this to the template to see what value is output in the source of the page:

        Code:
        {$GLOBALS[threadinfo][prefix_rich]}

        Comment

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