As per title, I've implemented an Activity Log Handler and a Trending Content Handler for the content type
The Activity Log Handler is used to collect various stats for articles. One of the uses of that data, is by the Trending Content Handler.
The Trending Content Handler adds ams articles as part of the trending system, which is pretty basic right now as their is a Trending Content Widget Definition that allows you to create "Trending" widgets and one of the Widget Definition Options includes being able to set a specific content type aka
Here you can see an AMS Article displaying in a Trending Content Widget (Display style: simple, which is designed for narrow displays like sidenav & sidebar).
Here you can see an AMS Article in a Trending Content Widget using the Display type "Standard", which is a grid based layout type (shared by other uses like Featured Content and Article Threads).
Here you can see an AMS Article in a Trending Content Widget using the Display type "Carousel", which like the above layout type, is shared by other use cases like Featured Content.
Anyway, not going to explain the Trending Content Handler itself as you can read about that in the HYS Forum at XenForo.com
ams_article
. The Activity Log Handler is used to collect various stats for articles. One of the uses of that data, is by the Trending Content Handler.
The Trending Content Handler adds ams articles as part of the trending system, which is pretty basic right now as their is a Trending Content Widget Definition that allows you to create "Trending" widgets and one of the Widget Definition Options includes being able to set a specific content type aka
ams_article
to create Trending Articles Widgets (and of course, the default is all content types mixed). Here you can see an AMS Article displaying in a Trending Content Widget (Display style: simple, which is designed for narrow displays like sidenav & sidebar).
Here you can see an AMS Article in a Trending Content Widget using the Display type "Standard", which is a grid based layout type (shared by other uses like Featured Content and Article Threads).
Here you can see an AMS Article in a Trending Content Widget using the Display type "Carousel", which like the above layout type, is shared by other use cases like Featured Content.
Anyway, not going to explain the Trending Content Handler itself as you can read about that in the HYS Forum at XenForo.com
XF 2.3 - Trending content
Since the initial release of XenForo 2.3, there has been a new system working away behind the scenes. One that some developers might have spotted but one that we hadn't actually talked about yet, because it wasn't relevant. Until now! Let's talk about this somewhat underlying system first...
xenforo.com
Upvote
0