1. REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Implemented Request for a sidebar navigation module for Showcase sublinks

Discussion in 'Showcase Closed Suggestions' started by Stuart Wright, Aug 12, 2013.

  1. Stuart Wright

    Stuart Wright Member Showcase

    Would love his Bob, many thanks :)
     
  2. Bob

    Bob Developer Staff Member

    Im going to integrate this into the addon and then you'll be able to enable/disable it per each sidebar (SC Home, SC Category, SC Member). I'll also post the raw block for anyone that wants to manually use it before the next release.
     
    Stuart Wright likes this.
  3. Bob

    Bob Developer Staff Member

    I've added the Navigation block just below the Quick Stats block on the Index, Category, Member and Item pages. Each of the 4 navigation blocks can be enabled/disabled independently. If you want them in a different position, you will have to edit the particular sidebar and move the block of code above or below another block.

    navigation-block.PNG

    Raw Block Code:

    HTML:
        <xen:if is="{$sidebarNavigation}">   
            <div class="section">
                <div class="secondaryContent">
                    <h3>{xen:phrase nflj_showcase_navigation}</h3>
                    <div class="pairsJustified">
                        <xen:if is="{$visitor.user_id}">
                            <dl>
                                <dt><a href="{xen:link 'showcase/mark-read', '', 'date={$serverTime}'}" class="OverlayTrigger">{xen:phrase nflj_showcase_mark_items_viewed}</a></dt>
                            </dl>
                        </xen:if>
                        <dl>               
                            <dt><a href="{xen:link search, '', 'type=showcase_item'}">{xen:phrase nflj_showcase_tab_link_search_items}</a></dt>
                        </dl>
                        <dl>                   
                            <dt><a href="{xen:link 'showcase/member'}">{xen:phrase nflj_showcase_tab_link_members}</a></dt>
                        </dl>
                        <xen:if is="{$visitor.user_id}">
                            <dl>                   
                                <dt><a href="{xen:link 'showcase/member',$visitor}">{xen:phrase nflj_showcase_tab_link_your_items}</a></dt>
                            </dl>
                            <dl>                   
                                <dt><a href="{xen:link 'showcase/watched'}">{xen:phrase nflj_showcase_tab_link_watched_items}</a></dt>       
                            </dl>                       
                        </xen:if>
                        <dl>                   
                            <dt><a href="{xen:link 'find-new/showcase-items'}">{xen:phrase nflj_showcase_tab_link_new_items}</a></dt>   
                        </dl>               
                    </div>
                </div>
            </div>
        </xen:if>
    NOTE: In order to use this now, you'll need to remove the wrapped IF statement as it is checking a new variable {$sidebarNavigation}. You'll also have to create the phrase: nflj_showcase_navigation as that is a new phrase that is currently not in the system.
     
    Veer likes this.
  4. Stuart Wright

    Stuart Wright Member Showcase

    Bob, that's nice. Thanks
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.