Moving account name (with option) on sidebar [Deleted]

Marocinoh

Member
Marocinoh submitted a new resource:

Moving account name (with option) on sidebar (version 1.0) - I move account name in sidebar (with options)

Watch screenshot first

In this tips, I move the account name of navigation_visitor_tab on sidebar_visitor_panel

Go to sidebar_visitor_panel template and find:

Code:
<a href="{xen:link account}" class="navLink accountPopup" rel="Menu"><strong>{$visitor.username}</strong></a>

replace with:

Code:
    <li class="navTab account Popup PopupControl PopupClosed {xen:if $tabs.account.selected, 'selected'}">
   
        <a href="{xen:link account}" class="navLink accountPopup"...

Read more about this resource...
 
there is no
<a href="{xen:link account}" class="navLink accountPopup" rel="Menu"><strong>{$visitor.username}</strong></a>
in sidebar_visitor_panel
thats in navigation_visitor_tab

Yours: Go to sidebar_visitor_panel template and find:
 
there is no

in sidebar_visitor_panel
thats in navigation_visitor_tab

Yours: Go to sidebar_visitor_panel template and find:

He is right

The full content of sidebar_visitor_panel is

PHP:
<xen:if is="{$visitor.user_id}">

<div class="section visitorPanel">
    <div class="secondaryContent">
    
        <xen:avatar user="$visitor" size="m" img="true" />
        
        <div class="visitorText">
            <h2>{xen:phrase signed_in_as_x_sidebar, 'name={xen:helper username, $visitor, 'NoOverlay'}'}</h2>        
            <div class="stats">
            <xen:hook name="sidebar_visitor_panel_stats">
                <dl class="pairsJustified"><dt>{xen:phrase messages}:</dt> <dd>{xen:number $visitor.message_count}</dd></dl>
                <dl class="pairsJustified"><dt>{xen:phrase likes}:</dt> <dd>{xen:number $visitor.like_count}</dd></dl>
                <dl class="pairsJustified"><dt>{xen:phrase points}:</dt> <dd>{xen:number $visitor.trophy_points}</dd></dl>
            </div>
            </xen:hook>
        </div>
        
    </div>
</div>

<xen:else />

<div class="section loginButton">        
    <div class="secondaryContent">
        <label for="LoginControl" id="SignupButton"><a href="{xen:link login}" class="inner">{xen:if $xenOptions.registrationSetup.enabled, {xen:phrase sign_up_now}, {xen:phrase log_in}}</a></label>
    </div>
</div>

</xen:if>

<xen:include template="ad_sidebar_below_visitor_panel" />

The code you explained to look for and replace is not there.
 
Top Bottom