phrase_dynamic
template method in XF2.1::class
argument instead of magic strings.$obj = Helper::repository(\XF\Repository\User::class);
$obj
will have the type \XF\Repository\User
Helper
bit just needs to be swapped with \XF
js/sv/lib/ajaxPagination.js
<xf:js src="sv/vendor/domurl/url.js" addon="SV/StandardLib" min="1" />
<xf:js src="sv/lib/ajaxPagination.js" addon="SV/Threadmarks" min="1" />
...
<div class="block" data-xf-init="sv-ajax-pagination" data-content-wrapper=".block-body--wrapper">
...
<div class="block-body--wrapper">
...
<xf:pagenav ... />
<xf:hiddenval name="final_url" value="{$finalUrl}" />
</div>
</div>
<xf:pagenav>
and <xf:hiddenval name="final_url" />
must be inside the div which is tagged with data-content-wrapper
's css selector