L
Lee
Guest
I am having an issue with my pagination code.
In my template I have:
HTML:
Route is set like this: :int<mood_id>/
age
Index Controller:
PHP:
Read more
Continue reading...
In my template I have:
HTML:
Code:
<xf:pagenav link="mood-tracker" page="{$page}" perpage="{$perPage}" total="{$total}" params="{$filters}"
wrapperclass="block-outer block-outer--after" />
Route is set like this: :int<mood_id>/

Index Controller:
PHP:
Code:
public function actionIndex(ParameterBag $params)
{
$visitor = \XF::visitor();
// Fetch filters from the request
$filters = $this->filter([...
Read more
Continue reading...