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.

Add "Number of Photos"

Discussion in 'Showcase Support' started by Joeychgo, Jan 14, 2016.

  1. Joeychgo

    Joeychgo Member AMS Premium SC Premium UBS Premium

    Is there a way to add "Number of photos" in a showcase? (see below image)

  2. Bob

    Bob Developer Staff Member

    You can try these, however, I do not think they are exposed outside of a prepared showcase item itself (if not, they will be in SC 2.6.0)

    For TEMP, you can use the attachment count: {$item.attach_count}

    template: nflj_showcase_layout_list_view_item

    scroll down till you find this
                    <xen:if is="{$item.last_update}">
                        <dl class="updatedStats">
                            <dt>{xen:phrase nflj_showcase_updated}:</dt>
                            <dd><xen:datetime time="$item.last_update" /></dd>
    Place this directly above it...
                    <dl class="updatedStats">
                        <dt>{xen:phrase nflj_showcase_images}:</dt>
                        <dd>{xen:number $item.attach_count}</dd>
    When the next version of SC comes out, you can replace the attach_count data with image_attach_count data.
  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.