Menu in a page problem

Matthew Hawley

Well-known member
I tried adding a help menu in MyShop and this was the result.

Shopproblem.webp

I know the problem kind of revolves around the addon but the problem isn't because of the addon (if that makes sense lol), so I posted it here.
 
We have this:

Code:
<xen:title>{$xenOptions.xshop_title}</xen:title>
<xen:require css="xshop.css" />
<xen:require css="cat.css" />
 
<div class="main">
<div class="left">
<xen:include template="xshop_left_column" />
</div>
<div class="center">
<xen:include template="xshop_middle_column" />
</div>
<br clear="both" />
<xen:include template="xshop_footer" />
</div>

And I changed it to this:

Code:
xen:title>{$xenOptions.xshop_title}</xen:title>
<xen:require css="xshop.css" />
<xen:require css="cat.css" />
<div class="container">
    <div class="helpSideBar">
        <ul>
            <xen:hook name="brc_credit_wrapper_sidebar">
            <li class="section"><h4 class="heading">{xen:phrase BRC_your_credit}</h4>
                <!--<h4 class="subHeading">{xen:phrase alerts}</h4>-->
                <ul>
                    <xen:hook name="brc_credit_wrapper_sidebar_your_credit">
                    <li><a
                        class="{xen:if "{$selectedKey} == 'credits/index'", 'secondaryContent', 'primaryContent'}" data-cacheOverlay="no"
                        href="{xen:link credits}">{xen:phrase statistics}</a>
                    </li>
                    <li><a
                        class="{xen:if "{$selectedKey} == 'credits/transactions'", 'secondaryContent', 'primaryContent'}"
                        href="{xen:link credits/transactions}">{xen:phrase BRC_list_transactions}</a>
                    </li>
                    <xen:if is="{$canTransfer}">
                        <li><a
                            class="{xen:if "{$selectedKey} == 'credits/transfer'", 'secondaryContent', 'primaryContent'} Tooltip" title="{xen:phrase BRC_transfer}"
                            href="{xen:link credits/transfer}">{xen:phrase BRC_transfer}</a>
                            </li>
                    </xen:if>
                    </xen:hook>
                    <li><a
                            class="{xen:if "{$selectedKey} == 'shop'", 'secondaryContent', 'primaryContent'} Tooltip" title="{xen:phrase BRC_transfer}"
                            href="{xen:link 'shop'}">{xen:phrase ice_shop_home}</a>
                            </li>
                    <li><a
                            class="{xen:if "{$selectedKey} == 'shop-history'", 'secondaryContent', 'primaryContent'} Tooltip" title="{xen:phrase BRC_transfer}"
                            href="{xen:link 'shop-history'}">{xen:phrase ice_shop_purchases}</a>
                            </li>
                   
                </ul>
            </li>
            </xen:hook>
        </ul>
    </div>
<div class="main">
<div class="left">
<xen:include template="xshop_left_column" />
</div>
<div class="center">
<xen:include template="xshop_middle_column" />
</div>
<br clear="both" />
<xen:include template="xshop_footer" />
</div>
 
Top Bottom