Cakephp 3 pagination - how get active link -
i wanted ask, how can configure pagination show active link.
no have this:
when on 3 page, cant style button show user position. template pagination looks this:
$config = [ 'number' => '<li><a href="{{url}}">{{text}}</a></li>', 'current' => '<li><a href="{{url}}">{{text}}</a></li>',]; i have tried cakephp3 docs, without success.
this easy way working.
$config = [ 'number' => '<li><a href="{{url}}">{{text}}</a></li>', 'current' => '<li class="current"><a href="{{url}}">{{text}}</a></li>', ];
Comments
Post a Comment