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.

Prefix on Tile View

Discussion in 'Showcase Support' started by kram242, Apr 11, 2017.

Tags:
  1. kram242

    kram242 New Member AMS Premium Showcase

    Is it possible to show the prefix on the Cover Photo in the Tile view of the Home Page?

    It is part of filters but not part of visual output.
     
  2. Bob

    Bob Developer Staff Member

    Doing that would require customization to the tile view layout type.

    The Data needed to display a prefix (using the prefix helper) is exposed, so you could customize the tile view layout to include the prefix if you want/need to.

    This is the helper you need in order to have the prefix rendered. Just add it to the layout where you want it displayed
    HTML:
    {xen:helper showcasePrefix, $item}
    Something along the lines of this (UNTESTED)

    Template: nflj_showcase_layout_tile_view_item

    Find this (towards the end of the template):
    HTML:
                            <h3 class="tileText">
                                <a href="{xen:link showcase, $item}" class="">{$item.item_name}</a>
                            </h3>
    Replace with this:
    HTML:
                            <h3 class="tileText">
                                {xen:helper showcasePrefix, $item} <a href="{xen:link showcase, $item}" class="">{$item.item_name}</a>
                            </h3>
     
  3. kram242

    kram242 New Member AMS Premium Showcase

    Thank you!
     
    Bob likes this.
  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.