0 Replies Latest reply on Apr 9, 2015 1:38 PM by pankaj.rajankar

    Themeing question about <#if threaded>

    pankaj.rajankar

      Hello,

       

      I have two questions.

       

      Part 1

      I have some code in my theme

      <#if threaded>

         //do something [never goes here]

      <#else>

        //do something else [always goes here]

      </#if>

       

      Even on a thread that has replies going in to multiple pages the if is never executed, the flow always goes to the else part. What is the intent of  the  <#if threaded>  code?

      Part 2

      I want to implement some logic that is

      <if first page of thread>

          // do this

      <else>

         // do this.

       

      What is the best way to implement this?

       

      Thanks,

      Pankaj.