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

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -