امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I have a widget display condition that works for widgets in thread_view sidebar
Code:
with the aim of limiting the amount of widgets displayed on vertically short pages.
I'm trying to work out a way of also accessing the page number or some other variable in the thread so I can also stop the widgets displaying
on the 2nd/later pages, so for a site where I have 30 replies per page it would look like
Code:
Read more
Code:
$context.thread.reply_count > 10with the aim of limiting the amount of widgets displayed on vertically short pages.
I'm trying to work out a way of also accessing the page number or some other variable in the thread so I can also stop the widgets displaying
on the 2nd/later pages, so for a site where I have 30 replies per page it would look like
Code:
$context.thread.reply_count > 10 AND $xf.page == 1 OR...Read more
