XF 1.4 Transferring HTML Navigation Code Issue

I've been trying transfer some code from my previous style to try and recreate what I've had before, but for some reason, it's giving me this error: "The following templates contained errors and were not saved: navigation: 1) navigation - Line 161: Invalid condition expression". I've looked over the code a couple of times, but I can't seem to find the problem, maybe just skimming to much, not entirely sure.

Any help would be appreciated.

Thanks!
 
It's somewhere within this code:
HTML:
<!-- Help -->
        <li class="navTab PopupClosed"><a href="https://forums-rumrunnerentertainment.com/index.php?help/" class="navLink">Help</a></li>
       
        <div class="<xen:if is="@uix_removeTabLinks">Menu JsOnly tabMenu<xen:else />{xen:if {$tabs.help.selected}, 'tabLinks', 'Menu JsOnly tabMenu'}</xen:if> helpTabLinks">
                                        <div class="primaryContent menuHeader">
                                            <h3>{$tabs.help.title}</h3>
                                            <div class="muted">{xen:phrase quick_links}</div>
               
                    </div>
                    <ul class="secondaryContent blockLinksList">
                    <xen:hook name="navigation_tabs_help">
                        <li><a href="https://forums-rumrunnerentertainment.com/index.php?help/smilies">Smilies</a></li>
                        <li><a href="https://forums-rumrunnerentertainment.com/index.php?help/bb-codes">BB Codes</a></li>
                        <li><a href="https://forums-rumrunnerentertainment.com/index.php?help/trophies">Trophies</a></li>
                        <li><a href="https://forums-rumrunnerentertainment.com/index.php?help/terms">Terms and Rules</a></li>
                    </xen:hook>
                    </ul>
                </div>
               

            </li>
 
You close the first <li> on the first line but also seem to try and close it right at the end?

That's the only thing that jumps out at me
 
OK, second look here - could it be the use of the quotation marks in this line:

Code:
<div class="<xen:if is="@uix_removeTabLinks">Menu JsOnly tabMenu<xen:else />{xen:if {$tabs.help.selected}, 'tabLinks', 'Menu JsOnly tabMenu'}</xen:if> helpTabLinks">

Change <xen:if is="@uix_removeTabLinks"> to <xen:if is='@uix_removeTabLinks'> may help?
 
I think this is the culprit:
Code:
{xen:if {$tabs.help.selected}, 'tabLinks', 'Menu JsOnly tabMenu'}
Either do this:
Code:
{xen:if '{$tabs.help.selected}', 'tabLinks', 'Menu JsOnly tabMenu'}
or this:
Code:
{xen:if $tabs.help.selected, 'tabLinks', 'Menu JsOnly tabMenu'}
 
OK, second look here - could it be the use of the quotation marks in this line:

Code:
<div class="<xen:if is="@uix_removeTabLinks">Menu JsOnly tabMenu<xen:else />{xen:if {$tabs.help.selected}, 'tabLinks', 'Menu JsOnly tabMenu'}</xen:if> helpTabLinks">

Change <xen:if is="@uix_removeTabLinks"> to <xen:if is='@uix_removeTabLinks'> may help?
I think this is the culprit:
Code:
{xen:if {$tabs.help.selected}, 'tabLinks', 'Menu JsOnly tabMenu'}
Either do this:
Code:
{xen:if '{$tabs.help.selected}', 'tabLinks', 'Menu JsOnly tabMenu'}
or this:
Code:
{xen:if $tabs.help.selected, 'tabLinks', 'Menu JsOnly tabMenu'}
Nope, doesn't work :/.
 
Top Bottom