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.

How to display the register block next to showcase?

Discussion in 'Showcase Support' started by it_, Aug 25, 2013.

  1. it_

    it_ New Member Showcase

    Hello,
    I haven't found this question via search, so I ask it here:
    I want to also display the register button (next to the content) if not registered users are viewing one of my items. Is this somehow easy to solve? Thank you for your help!
    Best regards!
     
  2. Bob

    Bob Developer Staff Member

    easy template edit..

    edit template: nflj_showcase_item_sidebar

    find (very top of the template):
    HTML:
        <xen:container var="$noVisitorPanel">1</xen:container>
    replace with:
    HTML:
        <xen:if is="{$visitor.user_id}">
            <xen:container var="$noVisitorPanel">1</xen:container>
        </xen:if>
    what this does is remove the visitor panel for logged in users, but not for guests, which in turn will display the 'Sign up now!' button.
     
  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.