1. April Fools Day Sale starting today through Sunday April 2nd.
    $15 discount on all licenses. $10 discount on 1 year support/downloads extensions.

    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 Featured Items and Latest Items Widget Definitions: Only Fetch Items w/ Tag(s) X(y, z)

Discussion in 'Showcase Closed Suggestions' started by Bob, Nov 23, 2022.

  1. Bob

    Bob Developer Staff Member

  2. Bob

    Bob Developer Staff Member

    This has been implemented in SC 3.2.23

    This is currently only available in Showcase and only for the Widget Definition "Showcase: Latest items". Update: This is now available in the "Showcase: Featured items" Widget Definition as well

    There is a new option (limit) called "Tags". This uses the xf:tokeninputrow which allows you to add 1 or more tags to the input.

    Note: The ITEM must have all tags that are added to the input to be considered a MATCH. Eg, if you add the tags FORD and HOT ROD, only items that have BOTH of those tags applied to them will be fetched, not one or the other, but BOTH.

    Here you can see that I've applied the tag "muscle car" to the widget, so only Items tagged with "muscle car" will be fetched.


    And here you can see that the Latest Items has pulled several items that have the tag "Muscle car" applied to them.


    Lets add a 2nd tag and see what happens. As you can see, I've applied 2 tags to this widget "muscle car" and "chevy", so it will only fetch items that have both tags applied to them.


    And here you can see that the amount of items has bee reduced as there are only 3 items that are tagged with both "muscle car" and "chevy".

    Veer and ZixDev like 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.