Admin

Staff member
Administrator
Registered
Local time
4:42 AM
Joined
Aug 21, 2015
Messages
15,054
Reaction score
61,036
Points
113
Age
49
Location
Egypt
Website
www.nullscripts.net
Site Script
XenForo
Admin 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...
 

Admin

Staff member
Administrator
Registered
Local time
4:42 AM
Joined
Aug 21, 2015
Messages
15,054
Reaction score
61,036
Points
113
Age
49
Location
Egypt
Website
www.nullscripts.net
Site Script
XenForo
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock