XF 1.4 little help to write correct code

jamalfree

Active member
#1
hello please little help to write correct code:



PHP:
<xen:if is="{$Responsive}">

       <xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 0 AND !{$message.conversation_id}">     
       show this content
       </xen:if>
       
<xen:else />

       <xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 0 AND !{$message.conversation_id}">     
       show this content 2
       </xen:if>
       
</xen:if>
 

jamalfree

Active member
#3
PHP:
<xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 0 AND !{$message.conversation_id}">

        <xen:if is="{$Responsive}">
        00
        <xen:else />
        11
        </xen:if>

</xen:if>
i try this code above responsive or not always i get 11!!!strangely
 
Top