• 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 Option: Featured articles limit & Exclude featured articles from articles listing on index and categ

Bob

Developer
Staff member
As per title, I've added two new options pertaining to Featured Articles on AMS Index and Category pages.

Currently, AMS Index and AMS Category pages will fetch 5 random featured articles for use in the Featured Articles Carousel (or 3 for the Featured Articles Grid Block). The only way to turn them off would be to edit the template and remove the call to the Featured Carousel Macro or Featured Grid Block (but that still doesn't stop the fetching process, which does add at least 1 query).

Admins can now set the Featured articles limit to 0, which disables the featured articles carousel or grid block.

Admins can now also fetch MORE than 5 articles for the Carousel (Grid block design is limited to 3, so this option has no effect on grid block).

The other option is being able to Exclude any of the fetched featured articles from also being fetched and listed in the Index (often referred to as "duplicates"). Being that the featured sliders and grid block results are NOT part of the listing, its not that big of an issue to some people, however, if you are one of those types that loves to CUSTOMIZE (looking at you @Joe Link ) and want not display featured articles in the carousel or grid block, but instead display them integrated at the top of the articles listing, its important to make sure "dupes" are removed (so this helps you do that).

Note: Default settings are 5 (same as it is hard coded now) and unchecked, so you'll only need to set these IF you want to change the behavior to something different than how it behaves currently.

Selection_861.png
 
Upvote 0
This suggestion has been implemented. Votes are no longer accepted.
Back
Top