Items This Page

Items This Page 1.1.4

No permission to download

Sim

Well-known member
Licensed customer
Sim submitted a new resource:

Items This Page - Add template variable $xf.itemsThisPage for how many posts/media items/resources/etc are on a page

Adds a new template variable $xf.itemsThisPage containing how many posts/media items/resources/etc. are shown on a page.

This is useful in templates if you want to adjust the display of some element based on how many posts or threads or media items there are displayed.

For example, you might want to hide an element from the sidebar on short threads (or on the last page of a thread where only one or two posts are shown), to prevent the sidebar from being much longer than the content...

Read more about this resource...
 
Sim updated Items This Page with a new update entry:

v1.1.4 - cleanup; bugfixes

1.1.4 (2026-10-13)​

  • answer the hampel_admin_api_redaction code event to declare that the add-on has no settings and so no secrets — this adds no dependency, and does nothing on a forum where no add-on defines that event

1.1.3 (2026-09-28)​

  • $xf.itemsThisPage now includes sticky threads on the first page of a forum — they are shown in addition to the paginated threads, so page 1 was short by the...

Read the rest of this update entry...
 
Back
Top Bottom