Correct conditional for forumhome?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bubble #5
    Senior Member
    • Apr 2005
    • 357
    • 4.2.X

    Correct conditional for forumhome?

    We have a table that we need to show up in the header of forumhome only. It should not show up in the header any place else. We tried to do this with a conditional but we don't know if we're using the right one because it's not working as planned. We tried using;

    Code:
    <if condition="THIS_SCRIPT == index.php">
    but for some reason it also removes the table from forumhome How should we go about doing this?
  • Bubble #5
    Senior Member
    • Apr 2005
    • 357
    • 4.2.X

    #2
    We also just tried

    Code:
    <if condition="THIS_SCRIPT != index.php">
    and that didn't work either

    Comment

    • TheMusicMan
      Senior Member
      • Oct 2002
      • 2140
      • 3.7.x

      #3
      <if condition="THIS_SCRIPT = foruumdisplay.php">

      ... try that...
      John

      Comment

      • feldon23
        Senior Member
        • Nov 2001
        • 11291
        • 3.7.x

        #4
        <if condition="THIS_SCRIPT == 'index'">

        Comment

        • Bubble #5
          Senior Member
          • Apr 2005
          • 357
          • 4.2.X

          #5
          THANK YOU so much Feldon23! That worked

          Comment

          • TheMusicMan
            Senior Member
            • Oct 2002
            • 2140
            • 3.7.x

            #6
            Originally posted by Bubble #5
            THANK YOU so much Feldon23! That worked
            Ok, so I got it wrong... it should have been

            <if condition="THIS_SCRIPT == 'forumdisplay'">

            .. I tried...
            John

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            😀
            😂
            🥰
            😘
            🤢
            😎
            😞
            😡
            👍
            👎